faces
faces copied to clipboard
Add a new attribute 'apply' to the execute/render family
Several times I've had the problem, that I want to process only some UIInputs of a form that requires to rerender this form after the AJAX request completed. The other UIInputs should keep their latest user-entered value and not that from the backing bean.
As far as I've seen it in the Mojarra 2.1.11 implementation, only those UIInputs will keep the value from the request, that are mentioned in the execute attribute of an AJAX component. I would highly recommend to either always apply the request values to the component tree without validation and updating the backing bean or to implement a new attribute like 'apply' which could be used to specify several IDs that should be additionally treated in the APPLY_REQUEST_VALUE phase to update the component tree (but nothing more).
Environment
Mojarra 2.1.11
Affected Versions
[2.1]
- Issue Imported From: https://github.com/javaee/javaserverfaces-spec/issues/1138
- Original Issue Raised By:@glassfishrobot
- Original Issue Assigned To: Unassigned
@glassfishrobot Commented Reported by stegr
@glassfishrobot Commented stegr said: Any progress or information on this request?
@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-1138
@fanste Commented Will this feature be considered again? JSF 2.3 has long been released.
We often had this requirement over and over again. A good example would be a datatable with a per-row delete button. Validation may fail because of missing data in input fields in that table and so the delete button's action listener is not executed.
Unfortunately I have to ask again if there are already any plans for this.