Is it that you do not want JavaScript in the resulting HTML page that gets
rendered? Or that you simply don't want to write JavaScript code yourself?

I found a really nice pop-up calendar widget that is a tag library, so you
don't have to write code. But it does render JavaScript in the resulting
page to make it all work.

It is a taglib written around the JavaScript Toolbox.
(http://www.mattkruse.com/javascript/calendarpopup/ )

Google for the taglib.


-----Original Message-----
From: Vimaljebaraj Gnanarajnelson , Tidel Park - Chennai
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 10:30 AM
To: Struts Users Mailing List
Subject: RE: Calendar control in Struts???


-yes, it is . rite now I am using js. My friend is byte struts freek and he
bet me to create a page without ant scripts :( . I think we have to develop
a tag for calendar control :)

your ideas r good :)

thnx,
vimal 

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 06, 2004 8:42 PM
To: Struts Users Mailing List
Subject: RE: Calendar control in Struts???

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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to