InterviewSolution
| 1. |
What Is The Life Cycle Of Jsf? |
|
Answer» Restore View : The request comes to the FacesServet controller which EXTRACTS the viewed from this request. Apply request values: The purpose of the apply request values phase is for each component to retrieve its current state. The components must first be retrieved or created from the FacesContext object, followed by their values. Process validations: This phase makes use of the validators to validate the VALIDATION rules on the fields.. Update MODEL values: In this phase JSF updates the ACTUAL values of the server-side model ,by updating the properties of your backing beans. Invoke application: Here the JSF controller invokes the application action to handle Form submissions. Render response: In this phase JSF displays the view with all of its components in their current state. Restore View : The request comes to the FacesServet controller which extracts the viewed from this request. Apply request values: The purpose of the apply request values phase is for each component to retrieve its current state. The components must first be retrieved or created from the FacesContext object, followed by their values. Process validations: This phase makes use of the validators to validate the validation rules on the fields.. Update model values: In this phase JSF updates the actual values of the server-side model ,by updating the properties of your backing beans. Invoke application: Here the JSF controller invokes the application action to handle Form submissions. Render response: In this phase JSF displays the view with all of its components in their current state. |
|