You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Ben <ne...@gmail.com> on 2004/12/07 07:19:45 UTC
Date drop down list
Hi
What is the best way to implement a date drop down list, something like this:
[MM] [DD] [YYYY]
Three drop down lists: month, day and year. I would like to take data
validation into account as well and I am using Struts.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Date drop down list
Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Ben,
> What is the best way to implement a date drop down list, something like this:
>
> [MM] [DD] [YYYY]
>
> Three drop down lists: month, day and year. I would like to take data
> validation into account as well and I am using Struts.
Maybe you can use some of the velocimacros here:
http://wiki.apache.org/jakarta-velocity/VelocityViewMacros
As for the validation, I think you'll get better answers asking the
struts folks.
http://struts.apache.org/using.html#Lists
## I've always been validating separated dates server-side.
Best regards,
-- Shinobu Kawai
--
Shinobu Kawai <shinobu.kawai@gmail.com >
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org