In JSF, what is the difference between immediate and process attributes? To my point of view both seem to have similar functions.
In JSF, what is the difference between immediate and process attributes? To my point of view both seem to have similar functions.
Well, according to the PrimeFaces 6.0 documentation:
The immediate attribute has its default value = false
and its type is boolean
.
Its function is to determine in which phase of the JSF lifecycle the component will be processed, if the value of the attribute is true
the action will be processed in the apply_request_values phase, if for false
will be processed in the invoke_application phase.
The process attribute has its default value = null
and its type is String
.
Its function is to have JSF "skip" the processing of all components that are not covered by the process attribute.