[Seaside] call/answer problem in 2.6b1.136?

Boris Popov boris at deepcovelabs.com
Thu Apr 19 16:37:12 UTC 2007


Lukas,

I use my own,

WAComponent>>dialog: aComponent

^AnswerContinuation
  currentDo:
    [:cc | 
      self
        show: aComponent
        onAnswer: cc
        delegation: ((DeepCoveLabs.YUIPanel new)
                         delegate: aComponent;
                         yourself)]

which was based on #lightbox: originally when I started using YUI,
should I be looking at doing something different to support the changes
you made?

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Lukas Renggli
> Sent: Thursday, April 19, 2007 1:01 AM
> To: Seaside - general discussion
> Subject: Re: [Seaside] call/answer problem in 2.6b1.136?
> 
> > I'm afraid I won't get a chance to come up with a standalone case
for at
> > least another day. Big release looming, you know how it goes :) I'll
> > keep the old methods as overrides for now as they seem to work fine
> > until I can look further into it.
> 
> Are you using #show:/#show:onAnswer:/#show:onAnswer:delegation:
directly?
> 
> In my opinion #show: should not block and therefor not raise the
> WARenderNotification. When using #show: the web-flow continues in
> aBlock, but the execution-flow is not interrupted. This is
> continuation passing style.
> 
> #call: is different. It blocks the execution and resumes it after
> answering. Here the web-flow and the execution-flow are unified.
> That's why we need to interrupt the execution using the
> WARenderNotification.
> 
> Does this make sense?
> 
> Cheers,
> Lukas
> 
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the Seaside mailing list