WebSphere Portal Server - JSR-168 JSF Portlet - inital view

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > January 2007 > JSR-168 JSF Portlet - inital view





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author JSR-168 JSF Portlet - inital view
Pinar Ugurlu

2007-01-26, 7:22 am

Hi all;

We have a multi-page JSR-168 JSF portlet.
After processing the initial page, portlet navigates to the second page,
then the user goes to another menu item from the portal navigation (goes
to another portal page). After he comes back to the original page JSF
portlet renders the last visited page(second page) as expected.

But our client wants to override this behavior, only when a menu item is
clicked the initial page of the portlet should be displayed.

Does anybody come across such an implementation, or advise us a solution?

Thanks in advance
Pinar Ugurlu
IBM Software Group
Jessica Garcia-Glennie

2007-01-26, 7:22 am



A fast a dirty way to accomplish this: in your JSF application, add an attribute to the request that keeps propagating through the screen flows. When a user accessing the portlet via the manu, that request attribute will not exist, and your portlet can
decide to show its first screen.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com