Re: Struts/FormDef formatting question

2007-04-26 Thread Hubert Rabago
April 26, 2007 12:37 PM To: Struts Users Mailing List Subject: Re: Struts/FormDef formatting question Then you'll have to have code to convert between the two. If you're using Formdef, you can put this logic in Converter and associate that converter with the field in the form you'

RE: Struts/FormDef formatting question

2007-04-26 Thread Givler, Eric
n at least see if the destination type is a subclass of Actionform and format accordingly. Sound ok? -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 12:37 PM To: Struts Users Mailing List Subject: Re: Struts/FormDef formatting question T

Re: Struts/FormDef formatting question

2007-04-26 Thread Hubert Rabago
e- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:21 AM To: Struts Users Mailing List Subject: Re: Struts/FormDef formatting question Your form field will come in as String. If you'll be storing the data as string as well, maybe you don't need any more

RE: Struts/FormDef formatting question

2007-04-26 Thread Givler, Eric
Users Mailing List Subject: Re: Struts/FormDef formatting question Your form field will come in as String. If you'll be storing the data as string as well, maybe you don't need any more conversion between the two. Hubert On 4/26/07, Givler, Eric <[EMAIL PROTECTED]> wrote: > I

Re: Struts/FormDef formatting question

2007-04-26 Thread Hubert Rabago
Your form field will come in as String. If you'll be storing the data as string as well, maybe you don't need any more conversion between the two. Hubert On 4/26/07, Givler, Eric <[EMAIL PROTECTED]> wrote: I was reading on the Formdef site about using a formatter (converter) for handling a ph

Struts/FormDef formatting question

2007-04-26 Thread Givler, Eric
I was reading on the Formdef site about using a formatter (converter) for handling a phone number for dynamic form beans in Struts. I have a situation that is very similar to this but I'm not sure how to go about writing it. The existing table has numeric phone fields which will not be changed