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

Roger Kitain roger.kitain at oracle.com
Fri Oct 22 14:15:16 EDT 2010


  Hey Werner -

Yes - there is a spec issue on this but didn't have time to get to it.

Thanks, Roger.

On 10/22/10 11:13 AM, Werner Punz wrote:
> 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


-- 
roger.kitain at oracle.com
https://twitter.com/rogerk09
http://www.java.net/blogs/rogerk

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


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