Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android forum!
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.

It is sorta covered in the JavaRanch Style Guide.
subject: JSF lifecycle - conversion errors clarification.
Similar Threads
JSF life cycle
h:commandButton not working
JSF Notes on Events
Aren't incoming values converted and applied to JSF Components before validations phase
PhaseListener problem