Yes but I would make this optional with default being off,
some component sets might rely on getting all form parameters
being passed down and fetch the values from the request manually...

But adding the functionality since j4fry already has working code
would make sense!


Werner


Alexander Bell schrieb:
Hi,

in my oppinion we shoudl think about to transfer only the elements which are mentioned in "execute" parameter and the viewstate of course.
What do you think?

2009/4/13 Ganesh <[email protected] <mailto:[email protected]>>

    Hi,

    Just received this response from Roger Kitain on the PPS question.
    The pps option he suggests is included as a MyFaces extension in
    jira MYFACES-2174.

    Best Regards,
    Ganesh Jung


    -------- Original-Nachricht --------
    Betreff:        Re: JSR 314 Comments on AJAX specification (from
    MyFaces development)
    Datum:  Mon, 13 Apr 2009 10:12:14 -0400
    Von:    Roger Kitain <[email protected]>
    An:     Ganesh <[email protected] <mailto:[email protected]>>
    CC:     [email protected] <mailto:[email protected]>
    Referenzen:     <[email protected]>




    Well... for simplicity (and what other frameworks were doing) the EG
    decided to do it this way.
    However, that's not to say we couldn't include an option that would
    indicate that only fields corresponding to
    execute list identifiers would be sent.

    Regards,
    -roger


    Ganesh wrote:
     > Hi to the JSR-314 team,
     >
     > We're currently working out the MyFaces 2.0 AJAX implementation
    of JSR
     > 314. During this process a question regarding the execute
    parameter of
     > jsf.ajax.request has come up: Why does the spec require all form
     > values to be submitted (In 14.1 the spec says for jsf.getViewState:
     > >>Encode the name and value for each input element of
     > FORM_ELEMENT.<<)? Most of the submitted parameters won't be used,
     > because only the components named in the execute parameter will be
     > processed in phase 2-4 (In 13.4.2 the spec says: >>The client also
     > sends a set of client ids of the components that must be processed
     > through the execute phase of the request processing lifecycle.<<).
     > Wouldn't it be faster to collect only the form values named in the
     > execute parameter?
     >
     > Best Regards,
     > Ganesh Jung




--
Mit freundlichen Grüßen / Kind regards
Alexander Bell

J4Fry OpenSource Community
Internet: http://www.j4fry.org
E-Mail: [email protected] <mailto:[email protected]>
Webprofil: http://www.j4fry.org/alexanderbell.shtml


Reply via email to