commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jadeler <>
Subject Validator - different resource bundle
Date Fri, 12 May 2006 18:47:50 GMT
Im having difficulty trying to get a key from a different resource bundle instead of ApplicationResource
in Struts.  Pls advice on how I can retrieve different keys from different resource bundle
in the Validator framework.  I've updgrade to Validator 1.3.0.

I've pasted my validation.xml file.  I did not change the validation-rules.xml.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator
Rules Configuration 1.3.0//EN" "">


        <form name="searchForm">
            <field property="policyPrefix" depends="required">
                <arg position="0" name="required" key="key.test" bundle="searchBundle"/>

All new Yahoo! Mail  
Get news delivered. Enjoy RSS feeds right on your Mail page.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message