I changed the context param javax.faces.STATE_SAVING_METHOD from server to client in my JSF application but now I get:
java.io.NotSerializableException: javax.faces.component.html.HtmlInputHidden
This breaks the view rendering.
As HtmlInputHidden is from a third party jar, I can’t implement it myself.
Is there any way to solve such problem?
Solved with
transientkeyword inHtmlInputHiddendeclaration:As @millimoose said,
saveSate()method controls the state; not the serialization.