struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <>
Subject RE: Calendar control in Struts???
Date Tue, 06 Jan 2004 15:12:04 GMT
Without javascript your choices are quite limited.

Your best bet is to just have a text entry box and a visible hint to the
user of the appropriate format to enter the date and reject invalid input.
(In fact if your UI has a lot of data entry to do this is the friendliest
choice for 'power' users...)

Another potential choice is to have 3 select fields for day month and year.
(You will of course need to validate that they dont choose things like 31
Feb etc...).

Not much you can do beyond that without using javascript though.

The lack of proper Numeric and Date fields is very much a glaring ommission
in html. (Esp numeric fields!). Fingers crossed that xforms will catch on!

-----Original Message-----
From: Vimaljebaraj Gnanarajnelson , Tidel Park - Chennai
Sent: Tuesday, 6 January 2004 23:00
To: Struts Users Mailing List
Subject: Calendar control in Struts???


I am looking for calendar control in struts, though there are few of those
in js, i am trying for a page without any javascripts, so if anyone knows
how a calendar control can be implemented using struts(/any taglibs
available) without calling any javascripts let me know it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message