romanws wrote:
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!

How are you attempting to show the error message? Does the input page contain a form? Does it have an input bound to the nameLength property? And what theme is it using?

L.


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

Reply via email to