--- Ravichandra C <[EMAIL PROTECTED]> wrote:
> I think in that case, I need to put a string text box and convert the
> entered string value to Date by using java conversion on server submit.

I'm not sure how using the YUI calendar component implies that, but okay.

> Is it possible for me to avoid all this? i.e. on user entry from the
> calendar component the date should come baack instead of converting and
> then validating it.
> 
> Any ideas?

Type conversion.

http://struts.apache.org/2.x/docs/type-conversion.html

It's no different than using the Dojo datetimepicker widget: you're always
going to get a string back from the browser no matter what method you use to
get the string from the user, graphical widget or text box.

Dave


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

Reply via email to