I have the following code for validation:

        @Validations(
                        expressions = {
                                        @ExpressionValidator (
                                                        key = "error.general",
                                                        message = "Default 
message for error.general",
                                                        expression = 
"nameLength gt 5")
                        }
        )
        public String submit() throws Exception {
                return SUCCESS;
        }

When the form is submitted the submit() method doesn't execute. The
validation is being done properly, the flow returns to the input page but
the error message is never shown.
Could somebody help me?
Thanks!
-- 
View this message in context: 
http://www.nabble.com/Problem-showing-ExpressionValidator-message-tf4956068.html#a14192369
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