lightbulb432
2006-12-21 07:19:45 UTC
What is the purpose of the hidden field named javax.faces.ViewState, and how
does it differ from the following hidden fields:
- jsf_view_64
- jsf_tree_64
Also, I noticed some sample HTML outputs from JSF, and they had multiple
javax.faces.ViewState hidden fields throughout the page. I also noticed each
hidden field was on a separate table (i.e. no table had more than one
javax.faces.ViewState), and that each occurrence of the hidden field had
exactly the same value. Finally, I noticed that some tables on the page had
this hidden field and others did not.
What determines whether a table has this hidden field or not?
I was just amazed by the huge inefficiency in having to transfer 3x the
hidden form field data (when each hidden field value is so large as it is)
when they all have the exact same value! Would this be a good case to use
server-side state saving, because the bandwidth not doing so would eat up
would be huge, right?
does it differ from the following hidden fields:
- jsf_view_64
- jsf_tree_64
Also, I noticed some sample HTML outputs from JSF, and they had multiple
javax.faces.ViewState hidden fields throughout the page. I also noticed each
hidden field was on a separate table (i.e. no table had more than one
javax.faces.ViewState), and that each occurrence of the hidden field had
exactly the same value. Finally, I noticed that some tables on the page had
this hidden field and others did not.
What determines whether a table has this hidden field or not?
I was just amazed by the huge inefficiency in having to transfer 3x the
hidden form field data (when each hidden field value is so large as it is)
when they all have the exact same value! Would this be a good case to use
server-side state saving, because the bandwidth not doing so would eat up
would be huge, right?
--
View this message in context: http://www.nabble.com/javax.faces.ViewState-hidden-field-tf2864080.html#a8003754
Sent from the My Faces - Dev mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/javax.faces.ViewState-hidden-field-tf2864080.html#a8003754
Sent from the My Faces - Dev mailing list archive at Nabble.com.