struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piero Sartini <li...@pierosartini.de>
Subject Re: @ExpressionValidator annotation & ognl.NoSuchPropertyException: com.opensymphony.xwork2.validator.validators.ExpressionValidator.methodName
Date Fri, 23 Mar 2007 20:40:44 GMT
I see this warning as well when using ajax-validation. It seems ognl expects 
a .methodName method which is not there in the struts validators.

There is another thread regarding this problem with the Topic "Problem with 
2.0.6". The warning is there in 2.0.7 as well.

Ted suggested to turn off devMode, but the warning remains.

Piero

Am Montag, 5. März 2007 schrieb Alex Wibowo:
> Gday...
>
>
> I am using the @ExpressionValidator annotation. So far it is working
> alright, apart from this exception I was getting:
>
> WARNING: Caught OgnlException while setting property 'methodName' on type '
> com.opensymphony.xwork2.validator.validators.ExpressionValidator'.
> ognl.NoSuchPropertyException:
> com.opensymphony.xwork2.validator.validators.ExpressionValidator.methodName
>
> Did anyone else get this error? According to the API, the
> @ExpressionValidator does not require any "methodName" parameter. So I am
> not sure
> what this exception is all about. I havent looked at the source code yet..

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message