File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF lifecycle - conversion errors clarification." Watch "JSF lifecycle - conversion errors clarification." New topic

JSF lifecycle - conversion errors clarification.

A Luis

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.

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