aspose file tools*
The moose likes JSF and the fly likes Incorrect state saving of the part of the view ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Incorrect state saving of the part of the view ? " Watch "Incorrect state saving of the part of the view ? " New topic
Author

Incorrect state saving of the part of the view ?

Dmitry Kopasov
Greenhorn

Joined: May 17, 2011
Posts: 2
Hello,

I have two similar JSF pages, linked to its own bean each. Each page contains a form with 3 panelboxes, and renders only one of them at a time, depending on the radiobutton position.
Everything is OK for the one of the pages, but for the second I have a problem: the values sent from one of the panelboxes are not assigned to the bean properties, if panelbox has "rendered" attribute.
I.e. the panelbox itself is rendered properly, but sent values are ignored. However, it works perfectly if I remove "rendered" attribute and put STL IF instead.

My only guess is that the problem appears due to some incorrect state saving. Also, I have to note that the page having described problem renders automatically a field like this:
<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id13:j_id14" />
while the page correctly working has nothing like that.

Could someone give me any clue about this ?
 
wood burning stoves
 
subject: Incorrect state saving of the part of the view ?