Yes, this is a bug... One I found on Friday, but haven't found a good fix for yet. The problem is that when the type conversion is executing, you only know the last part of a property name ("dob" in this case) not the full property name ("user.dob")... I have been discussing possible solutions with Patrick and Matt, but so far all we can think of are semi-ugly hacks :-) I'll probably be fixing this this week.
Note that this is keeping the Validation example from working completely correctly right now in the example war. Jason > -----Original Message----- > From: Francisco Hernandez [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 05, 2003 4:28 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] how to use the new validation stuff for > errors that occur during type conversions > > > how do I use the new validation stuff for errors that occur > during type > conversion of propertys? > > I have a User property exposed that has a field dob thats a > java.util.Date and want to have it as textfield that shows the date > like "03/17/1980" I need this to be converted into a Date > object back on > submission too > > im getting this message though: > > [DEBUG] LocalizedTextUtil - Unable to find text for key > invalid.fieldvalue.dob > > I think theres a bug here too because my property is actually user.dob > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork