You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/04/25 21:15:47 UTC

[jira] Closed: (STR-720) Validator does not support non-default resource bundles

     [ http://issues.apache.org/struts/browse/STR-720?page=all ]
     
Don Brown closed STR-720:
-------------------------

    Resolution: Fixed

> Validator does not support non-default resource bundles
> -------------------------------------------------------
>
>          Key: STR-720
>          URL: http://issues.apache.org/struts/browse/STR-720
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Action
>     Versions: Nightly Build
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Anton Maslovsky
>     Priority: Minor
>      Fix For: 1.1 Family
>  Attachments: validator-messageResource.txt, validator-messageResource.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org