struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (STR-720) Validator does not support non-default resource bundles
Date Tue, 25 Apr 2006 19:15:47 GMT
     [ http://issues.apache.org/struts/browse/STR-720?page=all ]
     
Don Brown reopened STR-720:
---------------------------

    Assign To:     (was: Struts Developer Mailing List)

> 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


Mime
View raw message