1

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?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Sergio
  • 3,317
  • 5
  • 32
  • 51

1 Answers1

7

ajax="false" means that your UICommand e.g. <p:commandButton> will perform a request/response process without using ajax. This is an attribute for PrimeFaces UICommands.

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:

Community
  • 1
  • 1
Luiggi Mendoza
  • 85,076
  • 16
  • 154
  • 332