• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic 9.2 | Updating Window Title

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic