RE: Form's property, String or not?

2004-03-23 Thread Andrew Hill
For actionforms you should make them all strings. Certainly anything that allows for text entry in the UI should be made a string even if it is intended for numeric input. (For checkboxes and such like its less important though Id still recommend using strings for them) This allows you to return

Re: Form's property, String or not?

2004-03-23 Thread Xuemin Guan
Thanks, Andrew, it explains very well. Xuemin - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 12:33 PM Subject: RE: Form's property, String or not? For actionforms you should make them all