[jsr-314-open-mirror] [jsr-314-open] [jsf 2.1 Spec Review] javax.faces.ViewState in jsf.ajax.html

Werner Punz werner.punz at gmail.com
Fri Oct 22 11:13:29 EDT 2010


Hello After reviewing a section which was problematic in the past, I want to
comment on the viewstate handling again:

jsf.ajax.html

<update id="javax.faces.viewstate">

locate and update the submitting form's javax.faces.ViewState value with the
CDATA contents from the response. Locate and update the
javax.faces.ViewState value for all forms specified in the render target
list.

Does this really suffice, what if the element is not a form, what if the
form is inside a render target or outside a render target. Currently in
myfaces we deal with those cases because the viewstate needs to be updated
wether the target element is a form or not.
What happens if you only execute but dont render? Or if you execute in one
form and render in another?



Werner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20101022/82d67b04/attachment-0002.html 


More information about the jsr-314-open-mirror mailing list