Hi!

Hope you can take a look at the file:


Here is the structure of my web-application
that works only then I use the default properties
file, that is not accessed with a bundle
parameter from the validation.xml file.
The result is just that the error messages
that should be displayed are not displayed.

in my struts (2.7) libraries I exchanged
the commons-validator with
commons-validator-1.1.4.jar.

<message-resources  key="test" 
parameter="com.xinfo.struts.example.strutsDemo.Application"/>

Properties file with entries=
Application.properties
(I controlled the path)


part of the validation.xml

 <field property="qnummer"
                 depends="mask">
                 <arg  position="0" bundle="test" 
key="validationExample.form.qnummer"/>
                 <arg position="1" name="mask" key="${var:mask}" 
resource="false"/>
                  <var>
                    <var-name>mask</var-name>
                    <var-value>^[QXqx0-9]*$</var-value>
                  </var>
          </field>




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

Reply via email to