Author: niallp
Date: Mon Feb 27 12:09:49 2006
New Revision: 381425

URL: http://svn.apache.org/viewcvs?rev=381425&view=rev
Log:
Fix for Bug 38798 - Validator argument - resource="false" ignored for arg0 - 
arg3. Thanks to Rostislav Palivoda 

Modified:
    
jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/ValidatorResources.java
    jakarta/commons/proper/validator/trunk/xdocs/changes.xml

Modified: 
jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/ValidatorResources.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/ValidatorResources.java?rev=381425&r1=381424&r2=381425&view=diff
==============================================================================
--- 
jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/ValidatorResources.java
 (original)
+++ 
jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/ValidatorResources.java
 Mon Feb 27 12:09:49 2006
@@ -240,6 +240,9 @@
                 Arg arg = new Arg();
                 arg.setKey(attributes.getValue("key"));
                 arg.setName(attributes.getValue("name"));
+                if ("false".equalsIgnoreCase(attributes.getValue("resource"))) 
{
+                    arg.setResource(false);
+                }
                 try {
                     arg.setPosition(Integer.parseInt(name.substring(3)));
                 } catch (Exception ex) {

Modified: jakarta/commons/proper/validator/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/xdocs/changes.xml?rev=381425&r1=381424&r2=381425&view=diff
==============================================================================
--- jakarta/commons/proper/validator/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/validator/trunk/xdocs/changes.xml Mon Feb 27 
12:09:49 2006
@@ -39,6 +39,9 @@
   <body>
 
     <release version="1.2.1 (alpha)" date="in SVN">
+      <action dev="niallp" type="fix" issue="38798" due-to="Rostislav 
Palivoda">
+         Validator argument - resource="false" ignored for arg0 - arg3.
+      </action>
       <action dev="niallp" type="fix" issue="38581" due-to="Yugandhar">
          Change JavaScript validators to cater for <i>disabled</i> being 
          <i>undefined</i> (an issue in Netscape 4.7).



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

Reply via email to