Hi all,

I want to avoid the waring displayed in the consloe when passing the
attributes in the redirect action.

Below is the struts.xml where the action is configured and so is the
parameters ,stack trace of the waring and ongl exception --

<action name="processRevocation"
class="us.ga.state.pap.cons.clemency.presentation.action.activity.UpdateCaseAction"
method="processRevocation">
                <result name="success" type="redirect-action">
                    setupForRevocation
                                ${caseNumber}
                                ${caseEditReason}
                                ${showButton}
                                ${taskId}
                </result>
                <result name="input" type="tiles">editRevocation</result>
            </action>


 WARN - com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty -
GC0zQAqYxnujPwGB54TSGA** | Caught OgnlException while setting property
'showButton' on type
'org.apache.struts2.dispatcher.ServletActionRedirectResult'.
ognl.NoSuchPropertyException:
org.apache.struts2.dispatcher.ServletActionRedirectResult.showButton
        at 
ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:132)
        at
com.opensymphony.xwork2.util.OgnlValueStack$ObjectAccessor.setProperty(OgnlValueStack.java:81)
        at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656).


I just need to avoid the warning getting display on the console. Any help is
highly appreicated.

Thanks
Siddiq.

-- 
View this message in context: 
http://www.nabble.com/NoSuchPropertyException-Warining.-tp23447658p23447658.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to