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!

problem with session scoped managed bean with jsf

user8769643Dec 1 2009 — edited Dec 2 2009
Hi all,

I have jsp coded in jsf tomahawk implementation in which there are several popups. The data to this jsp comes from a managed bean which is of type request scope. Now my problem is if i use this request scoped bean the data is not passed from the main jsp to the popup. If i use session scope it works well. But there is a problem with refreshing the data if we click on a new link on the main jsp. Iam not sure how to resolve this issue. i tried to use tomahawk t:saveState to pass the managed bean object from the main jsp to the popup but not successful.

Can someone adivse me if i continue usimg session scoped managed bean. But when i click on the back button in main jsp and click on another link ,come back again to the same main page data is not refreshed. (or)

should i use request scoped bean and use tomahawk t:saveState or is there any other approach to do this?

kindly give your inputs on this problem.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2009
Added on Dec 1 2009
4 comments
764 views