[Seaside] flow

Julian Fitzell jfitzell at gmail.com
Thu Jun 16 22:43:31 UTC 2011


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

Julian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110616/029d76ee/attachment.htm


More information about the seaside mailing list