• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic Portal | Updating title of window

 
Saurabh Agrawal
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem Description:

I have created a portal which contains various pages containing different portlets. Each portlet corresponds to a different JSP page. The desktop has got the title: New Portal Desktop.

While I run through the application, the title of the explorer window remains that of the desktop i.e. New Portal Desktop. Every page has the same title in the explorer window.

Requirement:

As we traverse through different pages, the title should change as per the page. For instance; sample.jsp should have the title Sample Application and so on.

Possible Solution:

I tried to do the following in the begin action of login:

DesktopBackingContext dbctx = DesktopBackingContext.getDesktopBackingContext(getRequest());

dbctx.setTitle("Sample Application");

But this doesn�t change the title of the explorer window. Can anyone suggest what can be done to resolve this issue?

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic