Hey Rapsy,

just a quick thought, shouldn't the arguments start at index 0? this meaning 
that you should have 

           <arg0 name="floatRange" key="${var:min}" resource="false"/>
            <arg1 name="floatRange" key="${var:max}" resource="false"/>

??

-Cesar


----- Original Message ----
From: rapsy <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Thursday, October 4, 2007 11:27:27 AM
Subject: Struts validation error on Jdeveloper 10.1.3.3



Hi,

I am using struts 1.3.8 for my application. I am using Oracle Jdeveloper IDE
ver 10.1.3.3.0. 
I have created the following validation in validation.xml file. 

<field property="size" depends="floatRange">            
            <msg name="floatRange" key="error.SizeRange" />            
            <arg1 name="floatRange" key="${var:min}" resource="false"/>
            <arg2 name="floatRange" key="${var:max}" resource="false"/>
            <var><var-name>min</var-name><var-value>0</var-value></var>
           
<var><var-name>max</var-name><var-value>999999999</var-value></var>
</field>

When I run my application on JDeveloper I get the following list of errors.
(Error) Invalid element 'arg1' in content of 'field', expected elements
'[msg, arg, var]'.
(Error) Element 'arg1' used but not declared.
XML-20137: (Error) Attribute 'name' used but not declared.

Can someone tell me why I am getting these errors? Thank you!



-- 
View this message in context: 
http://www.nabble.com/Struts-validation-error-on-Jdeveloper-10.1.3.3-tf4570539.html#a13045841
Sent from the Struts - User mailing list archive at Nabble.com.


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





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

Reply via email to