Sorry but this doesn't work due to Dan's explanation
Venkatesh Babu-5 wrote:
>
> The calendar widget at present does not support validation.
> But you can set the valid property on the calendarField widget.
> If you want to represent an unsuccessful validation of the calendar.
>
> -Venky
> autozoom wrote:
>> hello,
>> I am trying to validate a calendar field using the autovalidate=true
>> property.
>> I can see in the app server log that validation actually happens, but
>> then I
>> would like to hook this event and do something client side.
>> The problem is that calendar doesn't expose a validation event.
>> Then I tried to dojo subscribe to the validation event of the textfield.
>> My
>> callback get called, but the calendar widget doesn't have a "valid"
>> property
>> returned by getProps().
>> So how can I react to an unsuccessfull validation of the calendar and do
>> something client side?
>> (Of course I wouldn't like to parse the calendar value using javascript,
>> doing this would make the JSF validator useless).
>>
>> anyone can help?
>> Thanks
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>
>
--
View this message in context: http://www.nabble.com/woodstock-4.1.1-Calendar-autovalidate-tp14968101p15014764.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.