faces icon indicating copy to clipboard operation
faces copied to clipboard

add partial parameter

Open eclipse-faces-bot opened this issue 15 years ago • 16 comments

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.

Environment

Operating System: All Platform: All

Affected Versions

[2.0]

eclipse-faces-bot avatar Jan 19 '10 02:01 eclipse-faces-bot

  • Issue Imported From: https://github.com/javaee/javaserverfaces-spec/issues/723
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: Unassigned

eclipse-faces-bot avatar Aug 06 '19 07:08 eclipse-faces-bot

@glassfishrobot Commented Reported by ganeshpuri

eclipse-faces-bot avatar Jan 19 '10 02:01 eclipse-faces-bot

@glassfishrobot Commented ganeshpuri said: Set target milestone to 2.1

eclipse-faces-bot avatar Jan 19 '10 02:01 eclipse-faces-bot

@glassfishrobot Commented @edburns said: triage

eclipse-faces-bot avatar Jun 08 '10 13:06 eclipse-faces-bot

@glassfishrobot Commented @edburns said: rogerk

eclipse-faces-bot avatar Jun 22 '10 21:06 eclipse-faces-bot

@glassfishrobot Commented rogerk said: status whiteboard

eclipse-faces-bot avatar Jun 29 '10 08:06 eclipse-faces-bot

@glassfishrobot Commented rogerk said: target milestone

eclipse-faces-bot avatar Jun 29 '10 09:06 eclipse-faces-bot

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

eclipse-faces-bot avatar Jun 30 '10 21:06 eclipse-faces-bot

@glassfishrobot Commented rogerk said: unfortunately this will go into 2.2

eclipse-faces-bot avatar Sep 13 '10 08:09 eclipse-faces-bot

@glassfishrobot Commented rogerk said: triage

eclipse-faces-bot avatar Nov 16 '10 12:11 eclipse-faces-bot

@glassfishrobot Commented tedgoddard said: 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.

eclipse-faces-bot avatar Apr 21 '11 10:04 eclipse-faces-bot

@glassfishrobot Commented @edburns said: 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.

eclipse-faces-bot avatar Apr 25 '11 15:04 eclipse-faces-bot

@glassfishrobot Commented @arjantijms said: 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).

eclipse-faces-bot avatar Nov 13 '11 16:11 eclipse-faces-bot

@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

eclipse-faces-bot avatar Aug 01 '14 14:08 eclipse-faces-bot

@glassfishrobot Commented @manfredriem said: Setting priority to Major

eclipse-faces-bot avatar Aug 01 '14 16:08 eclipse-faces-bot

@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-723

eclipse-faces-bot avatar May 05 '17 05:05 eclipse-faces-bot