I followed the example, added the getter/setter for the properties in the Action but got the following error message. Did I miss anything else?
2009-02-13 14:06:48,322 ERROR [com.opensymphony.xwork2.ObjectFactory] Unable to set parameter [plannedSampleGroupId] in result of type [org.apache.struts2.dispatcher.ServletActionRedirectResult] Caught OgnlException while setting property 'plannedSampleGroupId' on type 'org.apache.struts2.dispatcher.ServletActionRedirectResult'. - Class: ognl.ObjectPropertyAccessor File: ObjectPropertyAccessor.java Method: setProperty Line: 132 - ognl/ObjectPropertyAccessor.java:132:-1 at com.opensymphony.xwork2.ognl.OgnlUtil.internalSetProperty(OgnlUtil.java: 392) at com.opensymphony.xwork2.ognl.OgnlUtil.setProperty(OgnlUtil.java:143) at com.opensymphony.xwork2.ognl.OgnlReflectionProvider.setProperty(OgnlRefl ectionProvider.java:91) at com.opensymphony.xwork2.ObjectFactory.buildResult(ObjectFactory.java:221 ) at com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActi onInvocation.java:208) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultAct ionInvocation.java:355) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvo cation.java:265) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doInterce pt(DefaultWorkflowInterceptor.java:163) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Me thodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvo cation.java:236) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(Vali dationInterceptor.java:249) at org.apache.struts2.interceptor.validation.AnnotationValidationIntercepto r.doIntercept(AnnotationValidationInterceptor.java:68) -----Original Message----- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Thursday, February 12, 2009 3:24 PM To: Struts Users Mailing List Subject: Re: Passing parameters between Actions ryangr wrote: > Is it possible to pass a parameter from one Action to another Action? > > For example, I have FooAction and BarAction. From BarAction's "reload" > action result I want to return to FooAction but pass it a relevant id for > FooAction to set upon loading. http://struts.apache.org/2.x/docs/parameters-in-configuration-results.ht ml Dave https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=321 2286 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is available at http://www.merck.com/contact/contacts.html) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org