users@javaserverfaces-spec-public.java.net

[jsr344-experts mirror] [jsr344-experts] ViewState, multiple forms, and ajax

From: Edward Burns <edward.burns_at_oracle.com>
Date: Wed, 31 Oct 2012 09:35:34 -0700

>>>>> On Wed, 24 Oct 2012 11:16:07 +0200, Werner Punz <werner.punz_at_gmail.com> said:

WP> My personal preference to this section would be simply:

WP> |/<update id="<VIEW_ROOT_CONTAINER_CLIENT_ID><SEP>javax.faces.ViewState<SEP><UNIQUE_PER_VIEW_NUMBER>">
WP> <![CDATA[...]]>
WP> </update>//
WP> /
WP> /locate and update the issuing form and all forms under/|||/VIEW_ROOT_CONTAINER_CLIENT_ID.//
WP> /
WP> ||

I added this sentence:

             * In
             * addition to the submitting form, all forms created by JSF
             * under the view root identified by
             * <code>VIEW_ROOT_CONTAINER_CLIENT_ID</code> must be
             * updated similarly.

Is that sufficient?

WP> /||Locate and update the |javax.faces.ViewState| value for all forms
WP> specified in the |render| target list.
WP> ||/

That text is already there and I'm leaving it there.

Thanks,

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/