Re: Issues keeping specifc data type in ActionForm instead of string

2005-03-01 Thread Andrew Hill
Imagine you have an int field and the user types in the value "anything but zero, oh please not zero, cause if its zero Im screwed". Take a guess at what value you will get in the field... Prasad, Kamakshya wrote: Hi, What all issues are there in keeping the data type of the attributes in Acti

Re: Issues keeping specifc data type in ActionForm instead of string

2005-03-01 Thread Craig McClanahan
This can be illustrated fairly simply with a test application that: * Declares a form bean property as an "int". * Includes an field bound to this form bean property. * Has a user that types "1a3" instead of "123". The problem is that users will expect the application to respond with an error

Issues keeping specifc data type in ActionForm instead of string

2005-03-01 Thread Prasad, Kamakshya
Hi, What all issues are there in keeping the data type of the attributes in ActionForm as specific date, double, integer etc. data types instead of string? Regards, KP