I placed validation code for one of my fields inside action's method and I'm trying to call it using OGNL expression:
@Validation public class RegistrationAction extends ActionSupport { private String username; public boolean isUsernameAvailable() { // ... } @RequiredStringValidator(shortCircuit = true, trim = true, message = "...") @FieldExpressionValidator(expression = "isUsernameAvailable()", message = "...") public String getUsername() { return username; } } Instead, when isUsernameAvailable() is supposed to be called I get this warning in Tomcat console: "Got result of null when trying to get Boolean." Why, and how can I fix it? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]