Since it's "expression" is an OGNL expression, have you tried instead:

@FieldExpressionValidator(expression = "usernameAvailable", message = "...")

which would attempt to find, in turn, getUsernameAvailable() and then
isUsernameAvailable()...   I would be curious to know if that works.
My two cents...


2008/8/2 Hrvoje Ban <[EMAIL PROTECTED]>

> I placed validation code for one of my fields inside action's method
> and I'm trying to call it using OGNL expression:
>
>        @FieldExpressionValidator(expression = "isUsernameAvailable()",
> message = "...")
>

Reply via email to