Re: ActionForm not String type fields (properties)

2004-04-16 Thread Stjepan Brbot
Thanks Craig, to use BeanUtils and its copyProperties method was the reason why I wanted to use FormBeans with fields other than String. After that I realized that BeanUtils has internal conversion functionality. There are some problems when you have to convert date written in String into java.s

Re: ActionForm not String type fields (properties)

2004-04-09 Thread Craig McClanahan
Stjepan Brbot wrote: Hi all, Does STRUTS ActionForm/DynaForm have to consist only of String object fields!? Although I saw this strong recommendation in some books and articles on Internet (since all parameters in Request are Strings) I use Action and DynaForms with java.lang.Integer fields and e

ActionForm not String type fields (properties)

2004-04-09 Thread Stjepan Brbot
Hi all, Does STRUTS ActionForm/DynaForm have to consist only of String object fields!? Although I saw this strong recommendation in some books and articles on Internet (since all parameters in Request are Strings) I use Action and DynaForms with java.lang.Integer fields and everything works fine!