All done with an ActionPool: Foo.action=Foo Foo.success=DoTriggers.action DoTriggers.action=ActionPool DoTriggers.params.action1=DoBlah DoTriggers.params.action2=DoBleh DoTriggers.params.action3=DoFlog DoTriggers.success=succes.jsp
-Pat ----- Original Message ----- From: "Darren Hobbs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 2:37 PM Subject: Re: [OS-webwork] More thoughts on Configuration > On Wed, Nov 06, 2002 at 11:48:58AM +0100, Rickard wrote: > > > > Hm... maybe I'm just going crazy here, but the above smells like it > > needs AOP :-) SCE sounds like an interceptor to me...many of the > > problems here seem to be related to NOT making a difference between > > actual functionality and things that "cross-cut" or intercept that > > functionality. It seems as though many chains are really "one action, > > and then a lot of interceptors", but with no distinction between what is > > the actual action and what are interceptors. > > > > Just a thought. > > > > /Rickard > > > Triggers. It looks like DB triggers - fire an event (send confirmation email) when a triggering criteria is met (ConfirmAction.success). If you could latch action chains to action results you could do multiple arbitrary things in response to events. The primary (triggering) action chain would be the one who's view takes priority - the others could end in NONE, or their views could be ignored. > > Just a thought, > > -Darren > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork