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
Hi there,
I am trying to get validation going for my application and so far
nothing works. I would like to use annotations. Here is what I try to
do:
package ...
import ...
@Results({
@Result(name = "success", value = "/jsp/hitlist.jsp"),
// value = "hitlist.action", type =
ServletAct
4 matches
Mail list logo