RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Freddy Villalba Arias
ado el: viernes, 26 de marzo de 2004 11:05 Para: Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully Freddy. No, you misunderstood if you thought I was responding with any hostility whatsoever. There is a general problem where input would be better validated in the

Re: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Mark Lowe
ado el: viernes, 26 de marzo de 2004 10:24 Para: Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully I think the way of going about converting is pretty open, either have some conversion utils between the web tier and the model. I tend to do it in the action and t

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Freddy Villalba Arias
- De: Mark Lowe [mailto:[EMAIL PROTECTED] Enviado el: viernes, 26 de marzo de 2004 10:24 Para: Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully I think the way of going about converting is pretty open, either have some conversion utils between the web tier a

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Joe Hertz
lets the user pass a DateFormat into copyProperties :-)??? -Joe > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, March 26, 2004 3:58 AM > To: Struts Users Mailing List > Subject: RE: Handling Date objects in ActionForm gracefully

Re: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Mark Lowe
e [mailto:[EMAIL PROTECTED] Enviado el: viernes, 26 de marzo de 2004 0:59 Para: Sreenivasa Chadalavada; Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully You deal with the conversion else where but not in the form bean, you can argue about it or just believe me. The

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread anuj . upadhyay
t; on 03/25/2004 08:53:31 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: (bcc: Anuj Upadhyay/Jeppesen/TMC) Subject: RE: Handling Date objects in ActionForm gracefully +1 > -

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Freddy Villalba Arias
OTECTED] Enviado el: viernes, 26 de marzo de 2004 0:59 Para: Sreenivasa Chadalavada; Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully You deal with the conversion else where but not in the form bean, you can argue about it or just believe me. The action form sits b

Re: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Mark Lowe
--- Mark Lowe 03/25/2004 03:17 PM Please respond to "Struts Users Mailing List"                 To:        "Struts Users Mailing List" <[EMAIL PROTECTED]>         cc:                 Subject:        Re: Handling Date objects in ActionForm gracefully Ask y

RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Takhar, Sandeep
. sandeep -Original Message- From: Sreenivasa Chadalavada [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 3:11 PM To: Struts Users Mailing List Subject: RE: Handling Date objects in ActionForm gracefully Do you know if the behavior can be overridden? Thanks and Regards, Sree

RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread anant.parnami
: Friday, March 26, 2004 1:06 AM To: Struts Users Mailing List Subject: RE: Handling Date objects in ActionForm gracefully What's the problem? robert > -Original Message- > From: Sreenivasa Chadalavada [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 2:28 PM >

Re: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Mark Lowe
quot;Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: RE: Handling Date objects in ActionForm gracefully yes it is. It should be done once per classloader. When struts populates the dyna form it is string array to string array conversion and use

RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Sreenivasa Chadalavada
. "Takhar, Sandeep" 03/25/2004 02:53 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: RE: Handling Date objec

RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Takhar, Sandeep
PROTECTED] Sent: Thursday, March 25, 2004 2:47 PM To: Struts Users Mailing List Subject: Re: Handling Date objects in ActionForm gracefully I am thinking of overriding the struts default mechanism. Override the default behavior of org.apache.commons.beanutils.ConvertUtils by registering a valid

RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Robert Taylor
+1 > -Original Message- > From: Mark Lowe [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 2:36 PM > To: Struts Users Mailing List > Subject: Re: Handling Date objects in ActionForm gracefully > > > Have it as a string and convert it to a date or calen

Re: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Sreenivasa Chadalavada
List" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: Re: Handling Date objects in ActionForm gracefully Have it as a string and convert it to a date or calendar when you pass it back to the model. On 25 Mar 2004, at 20:

RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Sreenivasa Chadalavada
. "Robert Taylor" 03/25/2004 02:35 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: RE: Handling Date objects in ActionForm gracefully What'

Re: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Mark Lowe
Have it as a string and convert it to a date or calendar when you pass it back to the model. On 25 Mar 2004, at 20:28, Sreenivasa Chadalavada wrote: All, We are facing a problem when we define java.util.Date field in ActionForm. Is there any way to override the default behavior provided by

RE: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Robert Taylor
What's the problem? robert > -Original Message- > From: Sreenivasa Chadalavada [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 2:28 PM > To: Struts Users Mailing List > Subject: Handling Date objects in ActionForm gracefully > > > All, > > We are facing a problem when we de