RE: Bean Style
Form bean fields should be maintained as Strings. Remember that the sole purpose of the form-bean is to help with the presentation. You can transfer the data to its actual type in your business object beans. See the response from Craig to a related question at http://marc.theaimsgroup.com/?l=struts-userm=104490884625879w=2. Hope that helps Sri -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 9:15 PM To: Struts Users Mailing List Subject: Bean Style Hi! Is there a general rule for creating view beans... I mean should i use Integer instead of int? If so, Why? Thanks. -richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Bean Style
just curious question... If I use DynaForms and validator to validate the (Dyna) fields. Can't I use real type (Integer etc..) on the DynaForm. Thanks for any replies. .anil Sri Sankaran wrote: Form bean fields should be maintained as Strings. Remember that the sole purpose of the form-bean is to help with the presentation. You can transfer the data to its actual type in your business object beans. See the response from Craig to a related question at http://marc.theaimsgroup.com/?l=struts-userm=104490884625879w=2. Hope that helps Sri -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 9:15 PM To: Struts Users Mailing List Subject: Bean Style Hi! Is there a general rule for creating view beans... I mean should i use Integer instead of int? If so, Why? Thanks. -richard
Bean Style
Hi! Is there a general rule for creating view beans... I mean should i use Integer instead of int? If so, Why? Thanks. -richard