[Seaside] flow

Robert Sirois watchlala at hotmail.com
Thu Jun 16 22:52:17 UTC 2011

Mayhaps embedding it? It would be easy enough for the user to download then.


From: jfitzell at gmail.com
Date: Thu, 16 Jun 2011 23:43:31 +0100
Subject: Re: [Seaside] flow
To: seaside at lists.squeakfoundation.org

On Thu, Jun 16, 2011 at 4:50 PM, Milan Mimica <milan.mimica at gmail.com> wrote:

Julian Fitzell wrote:

 but I'd question why you were using #call:/#answer: at all.

If the #answer is in response to a #show: or is triggering an #onAnswer: block in an embedded component, it should work fine to #answer inside the #respond: block.

Well, it's quite simple. I'm #call-ing a component which does a ticket reservation. After the user fills the form, in the callback of the OK button, I'm sending a PDF (the ticket) to the user and returning flow to the calling component. That's how I imagined it anyway.

But how can the user both download a file *and* see an HTML page displayed? You can only respond once to a request...


seaside mailing list
seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110616/b44e3317/attachment.htm

More information about the seaside mailing list