Usage of org.apache.myfaces.trinidad.CLIENT_STATE_METHOD
posted 6 years ago
I am new to JSF and trying to use the Trinidad JSF implementation.
In my Application the standard JSF <context-param> javax.faces.STATE_SAVING_METHOD is set to "client". Based on this tag I have come across the Trinidad "org.apache.myfaces.trinidad.CLIENT_STATE_METHOD" context-param.
From the Trinidad documentation I understand that the default value of "token" will store the page state in the HttpSession and setting its value to "all" will store it in the client side in a hidden field.
I want to know what is the policy Trinidad adopts for saving page state ( if at all ) when I set the standard JSF context-param javax.faces.STATE_SAVING_METHOD to "client" but do not use the Trinidad specific "org.apache.myfaces.trinidad.CLIENT_STATE_METHOD" tag in web.xml. What are the affects of having such a setting in my application specially related to performance.