struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romanws <roma...@gmail.com>
Subject Problem showing ExpressionValidator message
Date Thu, 06 Dec 2007 13:39:22 GMT

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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message