On Wed, 6 Nov 2002, Patrick Lightbody wrote:

> SendConfirmationEmail isn't exactly a chain, the example got munged up and I
> really did mean SendEmail to be used as an Action. Anyway, enough about
> that... to answer your question:
>
> "Can a chain have more than one View?"
>
> Yes, of course:

Well, I was looking at SendConfirmationEmail as an action/view inside the
chain, not as a chain in and of itself. I can see a lot of power in the
ability to, say, do something like this (poorly thought out, I just got
up):

SubscribeToList.action=Subscribe
Subscribe.success=SendConfirmationEmail.jsp
SendConfirmationEmail.jsp.success=ShowStatus.jsp

Yeah, I know, stop puking. I JUST got up, and this doesn't address
ANYTHING like "where does the status for SendConfirmationEmail come from?"
or anything like that. Maybe this whole idea should be scrapped,
especially based on this example... but the idea is that the SCE here is a
"view" seen by sendmail, and the ShowStatus is the "view" seen by the
client browser.

[snip]

> The answer to your other question, "aren't views terminal?"... yes, they
> are. As you can see in the above example, you need to provide an display of
> some sorts at the end of the dynamic chain. I suppose CreateNewDocument (aka
> StoreDocument) could return NONE, but then I believe you'd just get a blank
> page.



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