I have problem with my h:commandButton \"Login\": when I use @ViewScoped and push this button there is ViewExpiredException, but when I use @SessionScoped, there isn\'t any
http://arjan-tijms.omnifaces.org/p/jsf-22.html#1127
MyFaces implementation of JSF2.1 had org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
default to true
, wheres Mojarra had com.sun.faces.serializeServerState
default to false
.
From JSF2.2 onwards this will be standardised via javax.faces.SERIALIZE_SERVER_STATE
which defaults to false
.
javax.faces.SERIALIZE_SERVER_STATE
true