Arc Forumnew | comments | leaders | submitlogin
1 point by nostrademons 6155 days ago | link | parent

For basic JSF, you just set a context-param on your web.xml for javax.faces.STATE_SAVING_METHOD = client.

http://forum.java.sun.com/thread.jspa?threadID=594475&me...

It'll serialize the UIComponent tree and store it in a hidden input field with every interaction, then restore the view from that field. Naturally, this doesn't work if you're using GET for forms. (There's an undocumented feature of JSF where you can change the form method using JavaScript and make it submit information via GET. It tends to break though - you can easily overflow query strings, and I recall some problems when binding components to bean properties.)



1 point by dc27437 6154 days ago | link

Thanks! I appreciate it.

-----