Difference between process and immediate
In JSF, what is the difference between the immediate and process attributes? In my view both seem to have similar functions.
1
1 answers
Well, according to the PrimeFaces documentation 6.0:
Or attribute immediate has its default value = false
and its type is boolean
.
Its function is to determine in which phase of the life cycle of JSF the component will be processed, if the attribute value is true
the action will be processed in Phase apply_request_values, if it is false
it will be processed in Phase invoke_application.
The process attribute has its value default = null
and its type is String
.
Its function is to make the JSF "skip" processing all components that are not covered by the process attribute.
5
Author: Marcos Sousa, 2016-09-16 14:07:22