Hey All-

I can't seem to get the validation.xml file configured correctly so that I
can validate indexed properties.   I've done a bunch of Mailing List/Google
searches and come up dry.  I've tried to configure it as suggested by D.
Winterfeldt and P. Ginnaram, but neither approach worked.  I ended up
getting the following useless javascript function rendered:

    function DateValidations () {
    }

Which as you notice, contains no validations.  I've hard-coded
(field="indexed[0].value") and the javascript rendered worked perfectly.  Of
course that's useless because I don't know how many result may come back.
Matt Raible seemed to be on the same route (note that his emails to the list
post-date Winterfeldt & Ginnaram) but his last email seems to indicate that
he's going to write his own custom javascripts to handle this.

My question is, does the validator handle indexed properties as of
struts-1.1b3 (aka RC1)??? If so, how is it done?  If not, does anyone have a
workaround (Matt if you're listening...)?

Here are a few links to the discussions regarding the validator and indexed
properties:

D. Winterfeldt Thu, 13 Jun 2002
Re: Indexed Property Validation on a String[]
http://www.mail-archive.com/[EMAIL PROTECTED]/msg33752.html


P. Ginnaram Tue, 20 Aug 2002
http://www.mail-archive.com/[EMAIL PROTECTED]/msg38703.html


M Raible
Validating Indexed Properties
17 Dec 2002
http://www.mail-archive.com/[EMAIL PROTECTED]/msg51913.html

Mon, 20 Jan 2003
http://www.mail-archive.com/[EMAIL PROTECTED]/msg54868.html

Tue, 21 Jan 2003
http://www.mail-archive.com/[EMAIL PROTECTED]/msg55133.html

Brandon Goodin Sat, 01 Feb 2003
[Validator] indexed property validation
http://www.mail-archive.com/[EMAIL PROTECTED]/msg56956.html


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

Reply via email to