When everything is setup right it always performs
server side validation (extend ValidatorForm), but if
you use the Javascript tag it will currently generate
Javascript code that matches what the required and
mask (regexp) validations do.

David

--- Tahir  Awan <[EMAIL PROTECTED]> wrote:
> Just looked into David's validator framework and it
> looks like a javascript
> solution.
> Can someone confirm this?
> 
> Tahir
> 
> > -----Original Message-----
> > From: Ted Husted [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 28, 2001 5:01 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: development issues
> > 
> > 
> > Tahir, 
> > 
> > David Winterfeldt has a very nice approach to
> regex 
> > validation that just
> > plugs into the framework, without modifying the
> code. Check 
> > it out at <
> > http://home.earthlink.net/~dwinterfeldt/ >
> > 
> > This extends the current Struts validation, and
> works on both 
> > the client
> > and server side. This gets the basic validations
> out of the way, and
> > also lets you perform more extensive validations
> in the usual way. The
> > validation expressions are loaded from a XML
> configuration 
> > file, and can
> > be changed without recompiling.
> > 
> > Automatic properties were discussed when the
> article came out, but it
> > was tabled for the 1.1 timeframe. 
> > 
> > <
> >
>
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg
> 00927.html
> >
> 
> I believe the "XML --> ActionForm Code Generator" on
> the 1.1 todo list
> may provide the same functionality when developed.
> 
> Currently, the only procedure for submitting tags is
> to post them to the
> list, either as an attachment or with a link to a
> Web site. Diffs are
> the traditional format for other types of patches.
> 
> We (meaning I) also hope to create a user
> contribution area soon, but
> this seems to be a busy time for everyone.
> 
> Tahir Awan wrote:
> > 
> > Hi,
> > 
> > In Dec-2000 issue of Javaworld, there was an
> article by "Thor
> Kristmundsson"
> > about enhancing Struts framework with regex
> validation and automatic
> > properties. Though the article is outdated due to
> recent development in
> > Struts but I liked the idea and spent some time
> implementing it.
> > 
> > In order to be compatible with future releases of
> Struts, is it possible
> to
> > post those changes for check-in? I suppose its
> only possible if the
> > committers like the ideas presented in that
> article.
> > 
> > As I am also working on some more userinterface
> related tags. What's the
> > process of submitting those tags to be part of the
> struts framework.
> > 
> > Thanks,
> > Tahir Awan


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text

Reply via email to