Thanks Scott, 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.
I guess I just wanted to confirm that I should be able to do this and my problem probably lies elsewhere. cheers, randall -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Farquhar Sent: Wednesday, 27 November 2002 5:57 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Mapping a success to another action Randall, WidgetAction.doUpdate() is called, not doExecute(). This is because you have specified "!update". I think that is likely to be your problem. Cheers, Scott Randall Dietz wrote: > G'day all, > > Given the following mappings: > list.action=ListWidgetsAction > list.success=widget-list.vm > update.action=WidgetAction!update > update.error=widget-edit.vm > update.success=list.action > > On success of update.action, I want to redisplay the list of Widgets, which > means I need to execute list.action again. > > However, when I execute update.action I get an error because no input view > was specified for the list action. I can add: > list.input=widget-list.vm > and the page is displayed but there is no content because ListWidgetAction > was not executed. > > What am I doing wrong here? > > cheers, > randall > > > > > ------------------------------------------------------- > 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 > -- ATLASSIAN - http://www.atlassian.com Expert J2EE Software, Services and Support ------------------------------------------------------- Need a simple, powerful way to track and manage issues? Try JIRA - http://www.atlassian.com/software/jira ------------------------------------------------------- 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