struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <andrew.david.h...@gridnode.com>
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!
<sigh/>


-----Original Message-----
From: Vimaljebaraj Gnanarajnelson , Tidel Park - Chennai
[mailto:VimaljebarajG@msdc.hcltech.com]
Sent: Tuesday, 6 January 2004 23:00
To: Struts Users Mailing List
Subject: Calendar control in Struts???


Hi,

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.

Thnx,
vimal


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message