If you remove the Scriptaculous and Prototype includes from the
default.jsp decorator - does that help?  As far as the date error -
what happens if you use something like 05-07-1976?

Matt

On 2/12/07, Fan <[EMAIL PROTECTED]> wrote:

I am using the following in personForm.jsp :

<s:datepicker label="%{getText('person.dob')}"  name="person.dob"
         format="#yyyy-#MM-#dd"/>

However , I cant get any Calendar component from the screen.

when I tried to save the field with "1976-05-07", it showed the following
message :

Validation Error Invalid field value for field "person.dob".



Matt Raible-3 wrote:
>
> You might try using the <s:datepicker> component.
>
> 
http://struts.apache.org/2.x/core-apidocs/org/apache/struts2/components/DatePicker.html
>
> Matt
>
> On 2/7/07, Fan <[EMAIL PROTECTED]> wrote:
>>
>> I am using struts 2
>>
>>
>> Matt Raible-3 wrote:
>> >
>> > On 2/7/07, Fan <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> 1)Is there any Calendar component in Appfuse 2.0, if there is so, how
>> >> could I
>> >> make use of it ?
>> >
>> >
>> > Which web framework are you using?
>> >
>> > 2)How do we define date field (without time)  in POJO for Appfuse 2.0 ?
>> >
>> >
>> > as a java.util.Date
>> >
>> > Matt
>> >
>> > --
>> >> View this message in context:
>> >>
>> 
http://www.nabble.com/Calendar-component-and-Date-field-for-Appfuse-2.0-tf3187463s2369.html#a8846844
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> >
>>
>> --
>> View this message in context:
>> 
http://www.nabble.com/Calendar-component-and-Date-field-for-Appfuse-2.0-tf3187463s2369.html#a8858069
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/Calendar-component-and-Date-field-for-Appfuse-2.0-tf3187463s2369.html#a8925497
Sent from the AppFuse - User mailing list archive at Nabble.com.

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




--
http://raibledesigns.com

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

Reply via email to