Re: Converting DTO into formBean and vice versa

2004-04-17 Thread Adam Hardy
String - java.sql.Date is possible with BeanUtils. Write a plugin to register a Converter with ConvertUtils at app startup. Actually I believe there are skeleton classes for LocaleBeanUtils to do what you want, but they haven't been programmed yet. Perhaps you should check on jakarta about their

Converting DTO into formBean and vice versa

2004-04-16 Thread Stjepan Brbot
I have DTO (transfering the data from my EJB) with the following fields: id (java.lang.Integer), name (java.lang.String), birth (java.sql.Date) also I have a ActionForm bean with the same fields but of String types: id (java.lang.String), name (java.lang.String), birth