jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: Partial Submit

From: Bauke Scholtz <balusc_at_gmail.com>
Date: Fri, 16 Jan 2015 20:28:16 +0100

Definitely a +1 from me. It would be nice if this was the default behavior.
It should however be made clear to starters that you need a view scoped
bean in order to keep track of all changes made so far in the view.

Cheers, B

On Fri, Jan 16, 2015 at 7:54 PM, arjan tijms <arjan.tijms_at_gmail.com> wrote:

> +1 for this.
>
> Initially I thought it was just a bug in the JSF implementation when I
> noticed all values were submitted. In Ed's book it's even suggested at
> several places if I'm not mistaken that only partially executed input
> values are submitted, but as we know now this is not the case.
>
> I wonder if it's just an error in the book or whether JSF 2.0 at one point
> actually did submit partially, but retracted that later?
>
> This question may be relevant, since if it was explicitly removed then the
> reasons for doing so may be valuable input.
>
> Kind regards,
> Arjan
>
>
> On Friday, January 16, 2015, Cagatay Civici <cagatay.civici_at_gmail.com>
> wrote:
>
>> Hi,
>>
>> PrimeFaces has a partial submit feature where we only send the values of
>> the partially executed inputs in ajax post request.
>>
>> JSF implementations serialize the whole form and send it, which is most
>> of the time unnecessary and increases size of the data to pass from client
>> to server.
>>
>> This is something I’d like to see in Core as standard, would like to hear
>> your feedback.
>>
>> Demo is available at;
>>
>> http://www.primefaces.org/showcase/ui/ajax/partialSubmit.xhtml
>>
>> Regards,
>>
>> Cagatay Civici
>> PrimeFaces Lead
>> PrimeTek Informatics
>> www.primefaces.org
>>
>