HTML and CSS Reference
In-Depth Information
Figure 1-10.
The JSF managed bean properties update with the values of the UI components tree
■
In order to perform the model values update, the JSF runtime calls the
processUpdates()
method of the
UIViewRoot
, which causes the child components'
processUpdates()
method to be called as well in order to apply
the model updates to all of them. however, the
UIInput
components override the
processUpdates()
method in order to
call the
updateModel()
for binding the user input with the managed bean property.
Note
Invoke Application
The “Invoke Application” phase is called after completing the model values update. In this phase, the action code is
executed. The action code in JSF can be in action methods and action listeners.
■
Note
In the
favorites.xhtml
, the action code is represented in the
#{favorite.save}
action method.


