I'm trying to validate a collection of objects such
that one of the properties generated html inputs looks
like:

<input type="text" name="assignmentForm[1].startDate"
size="13" value="">

I've defined the "form-validation" doc with the
following field block:

<field property="startDate" depends="date">
        <msg key="errors.invalid.date" name="date"/>
        <arg0 name="date"
key="package.Assignment.startDate.label"/>
        <arg1 name="date" key="${var:datePattern}"
resource="false"/>
        <var>
                <var-name>datePattern</var-name>
                <var-value>MM/dd/yyyy</var-value>
        </var>
</field>

unfortunately, the form doesn't seem to get validated.
 I don't have this issue with non-indexed properties. 
On a related note, the html:errors tag doesn't seem to
have an indexed boolean attribute.  Will I be able to
access the error message specific to that index?

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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

Reply via email to