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=10868>.
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=10868

Validator  does not support non-default resource bundles

           Summary: Validator  does not support non-default resource bundles
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


For example:

struts-config.xml:
<message-resources key="myBunde" parameter="MyResources"/>

validation.xml:
<form-validation>
    <formset>
        <form name="logonForm">
            <field property="name"
                depends="required">
                    <arg0 key="user.userName"/>
            </field>    
        </form>
    </formset>
</form-validation>

The key "user.userName" from "myBunde" will not be found. And there is no way in
validator file to specify which resource bundles to use. Language attributes of
<formset> tag does not help because there may be multible bundes for each
language. Validator needs to explicitely support struts resource bundles.

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

Reply via email to