http://www.junlu.com/
Home
»
Home (12/2007)
»
Struts 2
»
Re: Problem with 2.0.6
Ted Husted
2007-02-28
Replies:
Problem with 2.0.6
--
Piero Sartini
2007-02-27
Problem with 2.0.6 --
Ted Husted
2007-02-28
Problem with 2.0.6
--
Piero Sartini
2007-02-28
Problem with 2.0.6
--
Ted Husted
2007-02-28
Problem with 2.0.6
--
Piero Sartini
2007-02-28
[S2] Problem with 2.0.6
--
cilquirm
2007-02-27
[S2] Problem with 2.0.6
--
Piero Sartini
2007-02-28
[S2] Problem with 2.0.6
--
cilquirm
2007-02-28
[S2] Problem with 2.0.6
--
Piero Sartini
2007-02-28
Real time data display in a struts based applic...
--
Maya menon
2007-02-28
Real time data display in a struts based applic...
--
Jose Maria Alvarez Rodriguez
2007-02-28
Real time data display in a struts based applic...
--
Frank W. Zammetti
2007-02-28
Real time data display in a struts based applic...
--
Musachy Barroso
2007-02-28
Real time data display in a struts based applic...
--
Maya menon
2007-02-28
Real time data display in a struts based applic...
--
Adam Ruggles
2007-02-28
Real time data display in a struts based applic...
--
Maya menon
2007-03-01
Real time data display in a struts based applic...
--
Michael J.
2007-02-28
Real time data display in a struts based applic...
--
Musachy Barroso
2007-02-28
Real time data display in a struts based applic...
--
Maya menon
2007-02-28
Real time data display in a struts based applic...
--
Musachy Barroso
2007-02-28
Real time data display in a struts based applic...
--
Maya menon
2007-03-02
Real time data display in a struts based applic...
--
Dave Newton
2007-03-02
Is DevMode set to false?
<struts>
<constant name="struts.devMode" value="false" />
...
</struts>
-Ted.
On 2/27/07, Piero Sartini <lists@(protected):
> upgraded to 2.0.6 - now the error below is thrown when accessing an Action
> with validators.
>
> dont know if it is important, but ajax-validation is enabled and the
> annotation looks like this:
>
> --- code ---
> @RequiredStringValidator(message = "Login is required", key
> = "error.loginname.missing")
> public String getLogin() {
> return login;
> }
> --- code ---
>
>
> Exec[0]: validator.doPost()
> Caught OgnlException while setting property 'methodName' on
> type '
com.opensymphony.xwork2.validator.validators.RequiredStringValidator
'.
> ognl.NoSuchPropertyException:
>
com.opensymphony.xwork2.validator.validators.RequiredStringValidator.methodName
> at
> ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:132)
> at
> com.opensymphony.xwork2.util.OgnlValueStack$ObjectAccessor.setProperty(OgnlValueStack.java:68)
> at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
> at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
> at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
> at ognl.SimpleNode.setValue(SimpleNode.java:246)
> at ognl.Ognl.setValue(Ognl.java:476)
> at com.opensymphony.xwork2.util.OgnlUtil.setValue(OgnlUtil.java:186)
> at
> com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty(OgnlUtil.java:360)
> at
> com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:76)
> at
> com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:103)
> at
> com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:90)
> at
>
com.opensymphony.xwork2.ObjectFactory
.buildValidator (
ObjectFactory.java
:234)
> at
>
com.opensymphony.xwork2.validator.ValidatorFactory
.getValidator (
ValidatorFactory.java
:252)
> at
>
com.opensymphony.xwork2.validator.AnnotationActionValidatorManager
.getValidators (
AnnotationActionValidatorManager.java
:79)
> at
>
com.opensymphony.xwork2.validator.AnnotationActionValidatorManager
.validate (
AnnotationActionValidatorManager.java
:134)
> at
>
com.opensymphony.xwork2.validator.AnnotationActionValidatorManager
.validate (
AnnotationActionValidatorManager.java
:109)
> at
>
com.opensymphony.xwork2.validator.AnnotationActionValidatorManager
.validate (
AnnotationActionValidatorManager.java
:96)
> at
>
com.opensymphony.xwork2.validator.ValidationInterceptor
.doBeforeInvocation (
ValidationInterceptor.java
:142)
> at
>
com.opensymphony.xwork2.validator.ValidationInterceptor
.doIntercept (
ValidationInterceptor.java
:148)
> at
>
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor
.doIntercept (
AnnotationValidationInterceptor.java
:48)
> at
>
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor
.intercept (
MethodFilterInterceptor.java
:86)
> at
>
com.opensymphony.xwork2.DefaultActionInvocation
$2.doProfiling(DefaultActionInvocation.java:219)
>
> ....
> ....
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
HTH, Ted.
* http://www.husted.com/struts/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.