This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
wood burning stoves
subject: To Authors - JSF session issue
Similar Threads
Thread Saftey in JSF
form values not updated
Do i need to keep evrything in session!
Session timeout
Backing Bean Scope (Best Practices?)