struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shamdasani Nimmi-ANS004 <ANS...@motorola.com>
Subject RE: Does the Validator package work with indexed properties?
Date Tue, 21 Aug 2001 22:42:29 GMT
David,

What I was referring to are the tabular fields, i.e, multiple rows of the same kind of data
(a grid). Can your package be used to validate those.

Thanks.

-Nimmi

-----Original Message-----
From: David Winterfeldt [mailto:dwinterfeldt@yahoo.com]
Sent: Tuesday, August 21, 2001 5:37 PM
To: struts-user@jakarta.apache.org
Subject: Re: Does the Validator package work with indexed properties?


If you are referring to having an html field with
indexed="true" then someone else asked about this. 
I've been pretty busy so I don't know when I'll get to
this, but I did add it to my To Do List.  I'll make it
a top priority when I have time to work on the
validator again.  Currently you would have to define
each field/property in validation.xml that would be
generated.

The regexp package uses standard Perl 5 pattern
matching.  So any perl regular expression tutorial
would help you write your own.  Here is the javadoc
link for the class that is used for regular
expressions.

http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html

David

--- Shamdasani Nimmi-ANS004 <ANS004@motorola.com>
wrote:
> Hi,
> 
> This question probably could be answered best by
> David Winderfeldt. I want to validate some indexed
> fields and was wondering if I could use the
> "validator" package. Also where could I more info on
> how to write expressions for the "mask" field in
> <formset>?
> 
> TIA.
> 
> -Nimmi
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Mime
View raw message