[JAVASERVERFACES_SPEC_PUBLIC-723] add partial parameter Created: 19/Jan/10  Updated: 01/Aug/14

Status: Open
Project: javaserverfaces-spec-public
Component/s: Ajax/JavaScript
Affects Version/s: 2.0
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: ganeshpuri Assignee: Unassigned
Resolution: Unresolved Votes: 7
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Issuezilla Id: 723
Status Whiteboard:

size_small importance_large


add attribute partialSubmit="true/false" to f:ajax and
parameter partialSubmit:'true/false' to jsf.ajax.request options

Only the components named in the "execute" parameter are processed in phase 2-4,
but the spec insists on submitting all elements included in a form. If
partialSubmit is set to true submission is reduced to the form params named in
execute. This is a performance feature that can boost speed on large pages.

Comment by ganeshpuri [ 19/Jan/10 ]

Set target milestone to 2.1

Comment by Ed Burns [ 08/Jun/10 ]


Comment by Ed Burns [ 22/Jun/10 ]


Comment by rogerk [ 29/Jun/10 ]

status whiteboard

Comment by rogerk [ 29/Jun/10 ]

target milestone

Comment by ganeshpuri [ 30/Jun/10 ]

Former name: "partialSubmit", but "partial" is more compact.
Would be great to get this into JSF 2.1

Comment by rogerk [ 13/Sep/10 ]

unfortunately this will go into 2.2

Comment by rogerk [ 16/Nov/10 ]


Comment by tedgoddard [ 21/Apr/11 ]

This is a very good feature provided that there is also a "whitelist" of additional parameters that must be submitted with every Ajax post. Alternatively, a JavaScript callback could be registered to allow frameworks to add required parameters to the POST before submission.

Comment by Ed Burns [ 25/Apr/11 ]

Regarding the whitelist, we do have that already as documented in the JSDoc.

I strongly favor the callback option. We already have a function jsf.getViewState(formElement). We could specify that a user provided function is called before returning from getViewState() that takes the associative array and the function can modify the associative array however they like.

Comment by arjan tijms [ 13/Nov/11 ]

MyFaces seems to have implemented this and calls it Partial Page Submit (PPS). Werner Punz recently blogged about this great feature here: http://werpublogs.blogspot.com/2011/07/apache-myfaces-jsfjs-queue-control.html

Incidentally, JavaServer Faces 2.0 The Complete Reference already spoke about a "Partial Submit" (page 343 "... only the value of the userid field is submitted" and Figure 12-2, page 345).

Comment by Ed Burns [ 01/Aug/14 ]

Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

Comment by Manfred Riem [ 01/Aug/14 ]

Setting priority to Major

Generated at Fri Oct 21 00:48:41 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.