Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSF cycle navigation and browsing bean problem [real headscratcher]

843842Dec 27 2005 — edited Jan 3 2006
Hi.
I'm thinking of creating some kind of a browsing bean, which could be linked to a [<<<previous] and[u] [next>>>] buttons. It should give similar navigation on JSF pages (lifecycle) as you have in web browser by clicking back and forward buttons.
It will hold list of visited pages with their ids (relative jsp paths) and parameters which were used for generating every page. Clicking every actionButton or actionLink on site will set information about generated page in a BrowsingBean by
 <t:updateActionListener>
.
The question is how to update parameters in other beans (which were used for generating result pages) from inside BrowsingBean method and how to generate JSF response manualy after clicking[u] [<<<previous] or [next>>>] button? Do I need to use
ExternalContext
and hardcode HTTP response?

http://forum.java.sun.com/thread.jspa?threadID=684826&tstart=75
Can it be a part of solution for my problem?

If You have some experience in this area Your help will be VERY appreciated,
Az
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 31 2006
Added on Dec 27 2005
3 comments
38 views