On Sun, Aug 3, 2008 at 5:04 AM, Pierre Thibaudeau
<[EMAIL PROTECTED]> wrote:
> Sorry to hear it didn't work.
>
> I am having my own share of problems with that ExpressionValidator, and I
> found one useful suggestion in the following doc:
> http://www.opensymphony.com/xwork/wikidocs/ExpressionValid
Sorry to hear it didn't work.
I am having my own share of problems with that ExpressionValidator, and I
found one useful suggestion in the following doc:
http://www.opensymphony.com/xwork/wikidocs/ExpressionValidator%20Tips.html
Look for the section entitled "Use the validation message for debuggi
On Sat, Aug 2, 2008 at 9:17 PM, Pierre Thibaudeau
<[EMAIL PROTECTED]> wrote:
> 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
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 cen
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() {
5 matches
Mail list logo