I am running form the latest version from CVS, and before submitting this post I checked that there were settters and getters for the Errors Map and ErrorMessages Collection.
I even tried implementing my own getter and setter for an Object[] containing them both, which also didn't work. Maybe I am configuring the action.xml incorrectly, or maybe I misunderstand the ability of chaining.. Ie. The dodo on the OS site specifies that an Action chain is declared as : # action chaining actionchain.foo.action=Foo actionchain.foo.success=actionchain.bar.action actionchain.bar.action=Bar actionchain.bar.success=bar.jsp Etc... They have prefixed the foo and bar actions with an actionchain. Prefix - is this required ? (and if so, why?) Maybe this is my problem as I have this config : <action name="com.datacodex.ccv.action.admin.MenuAction" alias="menu"> <view name="success">menu.vm</view> </action> <action name="com.datacodex.ccv.action.admin.OnSaleProductManagerAction" alias="onsaleProduct.manager"> <view name="success">onsaleProductForm.vm</view> <view name="load.action">onsaleProduct.manager.action</view> <view name="menu.action">menu.action</view> </action> I wish to preserve the errors that the onsaleProduct.manager action generates when going to the menu.action, so that the Menu can display the errors. Thanks, Cameron. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On > Behalf Of Patrick Lightbody > Sent: Monday, 16 December 2002 7:45 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Actuin Chaining > > > Cameron, > ActionSupport didn't have setters for the error Map or the > errorMessage List. This has been resolved in CVS and version > 1.3. Without setters, the error messages wouldn't chain > together. I had this problem a couple days ago and fixed it :) > > -Pat > > ----- Original Message ----- > From: "Cameron Braid" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, December 15, 2002 2:33 AM > Subject: [OS-webwork] Actuin Chaining > > > > I am trying to chain two actions two actions together, the > first one > > may generate validation errors, which then chains to the > 'form' view. > > > > The thing that doesn't work is the errors generated using > > addError(field, message) or addErrorMessage(message) inthe first > > action are lost when the 'view' action is chained to. > > > > Does anyone have any ideas ? > > > > Cameron Braid > > [EMAIL PROTECTED] > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing > Channel http://hpc.devchannel.org/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork