Hi,

I've got two problems with XML validation :(

- I'm not able to perform an equality check on two parameters. I've got
password and confirmPassword which I try to validate using something like:

        <validator type="expression">
                                confirmPassword.equals(password)
                                <message>...</message>
                </validator>

What am I getting wrong? 

- Even if I'm putting input that should be validated, I'm never going to the
execute method of the action. It seems that validation always fails.


DEBUG [http-8080-1] (CommonsLogger.java:57) - Bypassing
//EseguiRegistrazione
DEBUG [http-8080-1] (CommonsLogger.java:57) - Validating
//EseguiRegistrazione with method execute.
DEBUG [http-8080-1] (CommonsLogger.java:57) - Forwarding to location
/pages/account/registrazione.jsp

(EseguiRegistrazione is the action I forward my submit to, the one that is
validated, and the location is the one associated to input result)

Using Struts 2.1.6.

Thanks.
-- 
View this message in context: 
http://www.nabble.com/xml-validation-tp23537908p23537908.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to