You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by BA...@lgcommerznow.com on 2001/04/05 16:04:01 UTC

RE: Date input tag (Source Code)

Here we go..... (sorry for the delay)

Please note we have modified Struts text tags but disabled options like
JavaScript events (like OnClick) as we do not use them. This may be a
problem for some of the users.

Biju Isac
(See attached file: DateTag.zip)




                                                                                                                            
                    "Szlapa, Michael"                                                                                       
                    <Michael.Szlapa@corp.        To:     "'struts-user@jakarta.apache.org'"                                 
                    axxent.ca>                   <st...@jakarta.apache.org>                                           
                                                 cc:                                                                        
                    04/03/01 07:32 PM            Subject:     RE: Date input tag                                            
                    Please respond to                                                                                       
                    struts-user                                                                                             
                                                                                                                            
                                                                                                                            



I would appreciate it. Even if its crude, it sure beats creating one from
scratch!
You may also consider ziping it and posting here, should be very small file
I guess.

Thank you,
Michael

                     -----Original Message-----
                     From:          BAlappatt@lgcommerznow.com
[mailto:BAlappatt@lgcommerznow.com]
                     Sent:          Tuesday, April 03, 2001 12:35 AM
                     To:       struts-user@jakarta.apache.org
                     Subject:       Date input tag

                     Hi!

                     I am a little puzzled that there is no date input tags
available (correct
                     me if I am wrong!). There are however date formatting
tags
available. I am
                     sure that almost all applications would require date
input
and validation
                     routines.

                     We have developed a small one which is a combination
of 3
struts text boxes
                     (DD MM YYYY), the user can specify the format of the
input
i.e DDMMYYYY or
                     YYYYMMDD. Also there is a property by which the user
can
default system
                     date to the input field. However the validation has to
be
done in the
                     form-bean. Currently this is in a crude form and we
are
trying to improve.

                     If this interests anyone, we are happy to share.

                     Biju Isac