Actually, the mapping is fine. The real problem is related the fact that action chaining does bean property copies, and the command pattern works via get/setCommand. So once your chain executes an action with a command, all the following actions will try to use that same command, even if they don't have that command. It's a fundamental design flaw where the command pattern and action chaining collide. The solution is, as I've mentioned ad nauseum, is that better configuration options are needed, such as offering params to actions that are applied immediately before execution. Then we could specify the command and have the command be applied just before executing.
-Pat ----- Original Message ----- From: "boxed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 28, 2002 12:34 AM Subject: Re: [OS-webwork] Mapping a success to another action > > doUpdate() is indeed being called ok and returns SUCCESS. The problem > seems > > to be with my mapping of update.success=list.action. My understanding is > > that list.action should be invoked and the ListWidgetsAction doExecute() > > method called again, but it's not happening. > > Sorry I didn't see this before. The mapping should be: > update.success=list > > if you do update.success=list.action webwork will try to find > list.action.action, which is not so good :P > > // Anders Hovmöller > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork