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-user&m=104490884625879&w=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
>

Reply via email to