faces icon indicating copy to clipboard operation
faces copied to clipboard

Add a new attribute 'apply' to the execute/render family

Open eclipse-faces-bot opened this issue 12 years ago • 7 comments

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]

eclipse-faces-bot avatar Oct 16 '12 08:10 eclipse-faces-bot

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

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

@glassfishrobot Commented Reported by stegr

eclipse-faces-bot avatar Oct 16 '12 08:10 eclipse-faces-bot

@glassfishrobot Commented stegr said: Any progress or information on this request?

eclipse-faces-bot avatar Mar 06 '13 16:03 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 This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-1138

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

@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.

eclipse-faces-bot avatar Dec 04 '18 10:12 eclipse-faces-bot

Unfortunately I have to ask again if there are already any plans for this.

fanste avatar Jul 22 '20 09:07 fanste