That would be nice.... no, for display struts uses DateWrapper.toString(), the converters are used for filling formBeans....
If you register these Converters for java.sql.Date, the display-format would be wrong.... but you could change the display-format manually (in the jsp page) -----Ursprüngliche Nachricht----- Von: Slava_L [mailto:[EMAIL PROTECTED]] Gesendet: 25.11.2002 12:22 An: Struts Users Mailing List Betreff: Re: AW: java.sql.Date again!! In your recent msg you posted 3 classes and as i can see one for String to Date (DateBeanUtilsConverter), the second (StringBeanUtilsConverterDate) for Date to String - duz Struts invoke it instead of Class.toString method ? ----- Original Message ----- From: "Andreas Langmann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 7:09 PM Subject: AW: AW: java.sql.Date again!! > Hmmm.... > > make a constructor accepting java.sql.Date for DateWrapper and a getDate() > method returning java.sql.Date. > I have no idea how to do more integration.... > > any ideas? > > greetings, > > Andreas > > -----Ursprüngliche Nachricht----- > Von: Slava_L [mailto:[EMAIL PROTECTED]] > Gesendet: 25.11.2002 12:01 > An: Struts Users Mailing List > Betreff: Re: AW: java.sql.Date again!! > > > But is it possible to hide DateWrapper behind java.sql.Date ? i wish to use > JDBC type in my FormBean > ----- Original Message ----- > From: "Andreas Langmann" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Monday, November 25, 2002 6:57 PM > Subject: AW: AW: java.sql.Date again!! > > > > Thats it. I use input fields and a german date format.... > > > > >Uhh, maybe input fields with java.sql.Date? I convert them by myself with > > this > > >mask as well, thou I plan to use a custom SqlDateConverter class for > this > > >task. Soon soon it'll come. > > > > You can re-use "my" DateWrapper Class.... (prior posting this morning) > > I hope that the next struts release can handle this without so much > > customizing.... > > > > greetings, > > > > Andreas > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

