Now it works. Thanks a lot.
> @ExpressionValidator(expression="(searchParam.keywords
> != '') && (searchParam.location != '')", message="Need
> keywords and location.")
I think there were several problems. First of all my OGNL syntax. I
believe the documentation regarding this topic is
--- Hardy Ferentschik wrote:
> @Validations(
> expressions = {
> @ExpressionValidator(
> expression =
> "searchParam.keywords ne null and
> searchParam.location ne null" message
> = "Wrong search parameters")
> }
Btw, I haven't tested this yet, but I suspect you
wouldn'
--- Hardy Ferentschik wrote:
> Currently I get the following error:
> No result defined for action SearchAction and result
> input
If validation fails the framework will try to bring
you back to the "input" result. You don't appear to
have one; this will cause a problem.
> validation on 'complex
3 matches
Mail list logo