> In a web environment, a single termination point is logical, but as we
> move away from being web based, might there be a place for ending on
> multiple views? For the above example, CreateAccount could have 2 success
> views, one view rendered to SMTP, the other to HTTP. Since an Action
> shouldn't know it's being displayed, an action doesn't seem like the right
> place for sending emails...

Well, in chaining splitting off to two different threads would be totally
possible with the ActionPool stuff Mike and I are very excited about. But as
for mutliple _views_ for a single "SUCCESS", that really doesn't make much
sense. What should be done is you create the action twice (two different
aliases) in the configuration and one has web-based "success.jsp" view,
while the other might be a Swing-based "success popup".

-Pat



-------------------------------------------------------
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

Reply via email to