File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes To Authors - JSF session issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "To Authors - JSF session issue" Watch "To Authors - JSF session issue" New topic

To Authors - JSF session issue

S Mishra

Joined: Dec 14, 2004
Posts: 15
Hi David,

I am developing an application in JSF and saving the state on Client side. The layout of the application has many read only tabs, with no validations but minor adjustments like sorting of tables, highlighting a row etc.

I wonder I have to put all my managed beans into Session scope as many a times I deal only with Output Text only. When the form is submitted the values of the Input Text gets reflected but not of the Output Text. But what JSF mean by Saving State is to save all the components in the form of a Component - Value Tree.

Because the values of output text are not reflected again, I have to literally put all my beans into session scope to work around it. Isn't it a bad design to overload the memory even if it is actually not required.

Is there a workaround, so that it prevents me to put the beans into session.


Thanks in Advance,<br /> <br />SM
I agree. Here's the link:
subject: To Authors - JSF session issue
jQuery in Action, 3rd edition