Reputation: 7709
I have an ajax event triggered via some events in Primefaces JSF components.
I want this event to only process the values of the specific field that contains this event, but not to update anything, only process. Something like this:
<p:ajax event="itemSelect" process="@this" update="@none"/>
Is something like this possible to do?
Upvotes: 0
Views: 6503
Reputation: 11757
Yes, @none
is a valid keyword to say that nothing will be updated.
There is standard keywords which can be used in JSF2 in the render
attribute:
If a literal is specified the identifiers must be space delimited. Any of the keywords "@this", "@form", "@all", "@none" may be specified in the identifier list.
PrimeFaces uses the update
attribute for the same purpose with the almost the sames values.
Upvotes: 5