Hello,
I am running Struts 2 (version 2.2.1.1) and the struts2-convention-plugin to
annotate all Actions.
My action parameter setters are not being called by the ParametersInterceptor.
The form does submit the email
parameter to my action. And the logs show that parameter on the
ParametersInterceptor DEBUG log. However, the corresponding action email
setter is not called. I did verify that the of the parameter matches both
setter / getter.
Any ideas?
02/03/11 12:42:50 AM
[com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler] DEBUG:
Entering nullPropertyValue
[target=[com.opensymphony.xwork2.DefaultTextProvider@101bc44], property=struts]
02/03/11 12:42:50 AM [com.opensymphony.xwork2.config.ConfigurationManager]
DEBUG: Checking ConfigurationProviders for reload.
02/03/11 12:42:50 AM [com.opensymphony.xwork2.DefaultActionProxy] DEBUG:
Creating an DefaultActionProxy for namespace /account and action name
request-pwd
02/03/11 12:42:50 AM
[com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler] DEBUG:
Entering nullPropertyValue
[target=[com.softlagos.web.struts2.action.account.RequestPwdAction@4ba679,
com.opensymphony.xwork2.DefaultTextProvider@101bc44], property=fontSize]
02/03/11 12:42:50 AM [com.opensymphony.xwork2.interceptor.I18nInterceptor]
DEBUG: intercept '/account/request-pwd' {
02/03/11 12:42:50 AM [com.opensymphony.xwork2.interceptor.I18nInterceptor]
DEBUG: applied invocation context locale=pt_BR
02/03/11 12:42:50 AM [com.opensymphony.xwork2.interceptor.I18nInterceptor]
DEBUG: before Locale=pt_BR
02/03/11 12:42:50 AM
[com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler] DEBUG:
Entering nullPropertyValue [target=[{browser=mobile},
com.softlagos.web.struts2.action.account.RequestPwdAction@4ba679,
com.opensymphony.xwork2.DefaultTextProvider@101bc44], property=struts]
02/03/11 12:42:51 AM [org.apache.struts2.interceptor.FileUploadInterceptor]
DEBUG: Ignorando /account/ request-pwd
02/03/11 12:42:51 AM
[com.opensymphony.xwork2.interceptor.StaticParametersInterceptor] DEBUG:
Setting static parameters {}
02/03/11 12:42:51 AM
[com.opensymphony.xwork2.interceptor.ParametersInterceptor] DEBUG: Setting
params NONE
02/03/11 12:42:51 AM
[com.opensymphony.xwork2.interceptor.ParametersInterceptor] DEBUG: Setting
params email => [ [email protected] ] mobile => [ true ] recoverPwdButton => [
Submit ]
02/03/11 12:42:51 AM
[org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor]
DEBUG: Validating /account/request-pwd with method execute.
02/03/11 12:42:51 AM [com.opensymphony.xwork2.validator.ValidationInterceptor]
DEBUG: Invoking validate() on action
com.softlagos.web.struts2.action.account.RequestPwdAction@4ba679
02/03/11 12:42:51 AM
[com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil] DEBUG: cannot
find method [validateExecute] in action
[com.softlagos.web.struts2.action.account.RequestPwdAction@4ba679]
02/03/11 12:42:51 AM
[com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil] DEBUG: cannot
find method [validateDoExecute] in action
[com.softlagos.web.struts2.action.account.RequestPwdAction@4ba679]
02/03/11 12:43:03 AM
[com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler] DEBUG:
Entering nullPropertyValue [target=[{email=[Ljava.lang.String;@1adf96a,
browser=mobile, recoverPwdButton=[Ljava.lang.String;@d1d45a,
mobile=[Ljava.lang.String;@1cc6f7e},
com.softlagos.web.struts2.action.account.RequestPwdAction@4ba679,
com.opensymphony.xwork2.DefaultTextProvider@101bc44], property=error]
02/03/11 12:43:03 AM
[com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler] DEBUG:
Entering nullPropertyValue [target=[{email=[Ljava.lang.String;@1adf96a,
browser=mobile, recoverPwdButton=[Ljava.lang.String;@d1d45a,
mobile=[Ljava.lang.String;@1cc6f7e},
com.softlagos.web.struts2.action.account.RequestPwdAction@4ba679,
com.opensymphony.xwork2.DefaultTextProvider@101bc44], property=error]
02/03/11 12:43:03 AM
[com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor] DEBUG: Errors
on action com.softlagos.web.struts2.action.account.RequestPwdAction@4ba679,
returning result name 'input'
02/03/11 12:43:03 AM
[com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor] DEBUG:
Entering getProperty
(ognl.OgnlContext@fa455359,{email=[Ljava.lang.String;@1adf96a, browser=mobile,
recoverPwdButton=[Ljava.lang.String;@d1d45a,
mobile=[Ljava.lang.String;@1cc6f7e},browser)
02/03/11 12:43:03 AM [org.apache.struts2.dispatcher.ServletDispatcherResult]
DEBUG: Forwarding to location /WEB-INF/content/mobile/account/request-pwd.jsp
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]