There are 2 patches (that I have tried submitting to BugZila a few times) that make multi row indexed validation work as is. My clients use the patched Struts that make the multi row validation work. I have no idea what others do (I can't be one of few with multi row master detail)

Send me a private e-mail and get both patches, either works, use at your own risk.

.V
[EMAIL PROTECTED]

Raible, Matt wrote:
I'm guessing that nothing has changed since the message below on Aug. 2001.
Since this is not possible, I'm willing to write out a bunch of Javascript
to do this validation. My question is, how do I get the mask and such from
the validator. The validator produces the following:

function mask () { this.aa = new Array("signals[1].action", "The signal '1' has an invalid
action. Please enter +, - or nothing at all.", new Function ("varName",
"this.mask=/^(\\+|\\-|\\s)$/; return this[varName];"));

And I want to do this, except using a new function and I'll write signals[1]
- signals[x] as variables.

Thanks,

Matt

http://www.mail-archive.com/[email protected]/msg13943.html

* From: David Winterfeldt
* Subject: RE: Does the Validator package work with indexed properties?
* Date: Tue, 21 Aug 2001 15:28:27 -0700
It can, but it is the same issue as the indexed
property. You would have to define each field. There
isn't currently anything where you can specify
'name[x]' and have it match any index (name[0],
name[1], etc.). Which is what you would probably want
to do.

David

--- Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]>
wrote:

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



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to