: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 between the
view and the action, the date
: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
-Original Message-
From: Mark Lowe [mailto:[EMAIL
: 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 between the
view and the action, the date conversion goes
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
+1
I also suggest
[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 and the model. I tend
, 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 then when things get
, 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
web tier so
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 define
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
.
Robert Taylor rtaylor
@mulework.com
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's the problem?
robert
Users Mailing 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:28
+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 calendar when you pass
it back
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
:[EMAIL 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
To: 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 uses
populate method
: 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
To: Struts Users
.
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
.
---
-
Mark Lowe mark.lowe
@boxstuff.com
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 yourself why
18 matches
Mail list logo