I may have missed this tidbit but in 1.1.5 it appears that UI value bindings
have to be bound to objects of type String and then converted to whatever
you want it to be (Character, Integer, etc...) - else you get validation
errors (e.g. Validation Error "leadTimeLevel": Value is not a valid
option.).

Above, leadTimeLevel is type Integer in my database, hibernate mappings,
POJO, etc...  However, I can't bind an outputText directly to it or I'll get
the Validation error.  

I have to create a new String in the bean, bind the outputText to the new
String, then in my listener (before I save) I have to setLeadTimeLevel(new
Integer(stringICreated);  

This happened when I switched from 1.1.4 SNAPSHOT to 1.1.5 SNAPSHOT (api,
impl, tomahawk, sandbox).

I hope this is a bug.  Can someone elaborate?
-- 
View this message in context: 
http://www.nabble.com/Snapshot1.1.5-and-Validation-tf2482064.html#a6921326
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to