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@oracle.com
https://twitter.com/rogerk09
http://www.java.net/blogs/rogerk