DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22514>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22514

Indexed properties are not validated

           Summary: Indexed properties are not validated
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,
I am trying to use validations for indexed properties. I have the following in 
validation.xml
    <formset>
        <form name="MISSystemSetup">
            <field
                property="userName"
                indexedListProperty="userPrivileges"
                depends="required">
                    <arg0 key="mis.users.username.label"/>
             </field>
        </form>
    </formset>

When viewing the generated javascript validation code, I noticed the following:

There is a method called required that is written as follows:

    function required () { 
    } 

if the same validation is used with a single property instead of an indexed 
property, the 'required' method contains some code.

I have read some where on the net that there are some problems when validating 
indexed properties, but I couldn't find anything about it here.

Regards,
Hatem

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

Reply via email to