struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Melissa L Kelley <stu.strutsuse...@stuology.net>
Subject Re: date validation
Date Mon, 26 Apr 2004 14:58:57 GMT
On Mon, 26 Apr 2004, Michael Kastner wrote:

> Hello,
>
> maybe someone can help me. I am trying to use DynaValidatorForm to enter
> (amongst other fields) a date field.
>
> So, my form bean definition contains this property setting:
>
> <form-property name="paymentDue" type="java.util.Date" />
>

Change this to

<form-property name="paymentDue" type="java.lang.String" />

You can read here for all the supported types (java.util.Date isn't one of
them): http://jakarta.apache.org/struts/userGuide/building_controller.html



------------------------------
Melissa L Kelley
www.stuology.net
------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message