Perhaps someone can order this XML to produce the desired result?

        <field name="model.password">
                <field-validator type="requiredstring">
                        <message key="requiredstring" />
                </field-validator>
        </field>
        <field name="model.confirmPassword">
                <field-validator type="requiredstring">
                        <message key="requiredstring" />
                </field-validator>
        </field>


        <validator type="expression">
                
                        model.password.equals(model.confirmPassword)
                
                <message>
                        ${getText("nomatch")} ${model.password} and
                        ${model.confirmPassword}
                </message>
        </validator>
-- 
View this message in context: 
http://www.nabble.com/Conditional-validation-tf3678771.html#a12234444
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to