Define your own Form bean class which extends the DynaForm  and then you
can override the get/set methods
In those methods you need to check if the type is Date then perform
whatever operation you want

Regards

Anant

-----Original Message-----
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: 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 Mailing List
> Subject: Handling Date objects in ActionForm gracefully
>
>
> 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 Struts?
>
> I very much appreciate your help!!
>
> Thanks and Regards,
> Sree/-
>
>
> ----------------------------------------------------------------------
> ------------------
> This is a PRIVATE message. If you are not the intended recipient,
please
> delete without copying and kindly advise us by e-mail of the mistake
in
> delivery. NOTE: Regardless of content, this e-mail shall not operate
to
> bind CSC to any order or other contract unless pursuant to explicit
> written agreement or government initiative expressly permitting the
use of
> e-mail for such purpose.
>
------------------------------------------------------------------------
----------------
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to