I'm get confused with this 2 concepts ajax="false"
and process="@this"
. Is the resulting view the same?, is there any order of execution?, will both execute the validation phase? something else should I care about?
ajax="false"
means that your UICommand
eg <p:commandButton>
will perform a request/response process without using ajax. This is an attribute for PrimeFaces UICommand
s.
process="@this"
means that only the current component value will be send to the server instead of sending the data from the whole <h:form>
. This attribute belongs to PrimeFaces components that have ajax functionality embedded. It is similar to execute
attribue in <f:ajax>
from JSF.
More info:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.