This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes JSF lifecycle - conversion errors clarification. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF lifecycle - conversion errors clarification." Watch "JSF lifecycle - conversion errors clarification." New topic
Author

JSF lifecycle - conversion errors clarification.

A Luis
Greenhorn

Joined: Jun 09, 2009
Posts: 1
In the JSF lifecycle diagram they indicate that there are 2 phases where you can get a conversion error
1) The "Apply Request Values" phase in which the conversion error is
reported back after the validation phase is complete.
2) Right after "Update Model Values" phase in which the local values from the component tree are placed inside the backing beans.

What is the diffrence in what types of conversion errors?
I would of though that if you already properly converted the local values in the
"Apply Request Values" Phase that you wouldn't have to perform yet another conversion in 2) but rather just store them
in the backing beans since there already converted.

Thanks.
 
 
subject: JSF lifecycle - conversion errors clarification.
 
Similar Threads
JSF life cycle
h:commandButton not working
Aren't incoming values converted and applied to JSF Components before validations phase
JSF Notes on Events
PhaseListener problem