[Seaside] scriptaculous version - missing BlockClosure

Philippe Marschall philippe.marschall at gmail.com
Sat Jul 29 06:59:08 UTC 2006


2006/7/28, itsme213 <itsme213 at hotmail.com>:
> Thanks Philippe,
>
> > If you don't have a BlockClosure class you don't need that method
> > anyway. Alternatively you can also create an empty BlockClosure class
> > somewhere.
>
> This did get past the load stage, but lead to a later error in the
> application itself that seems to be related to BlockContext (see *** below)
> which I am guessing is related to BlockClosure.

What makes to think so? To me I looks like "self libraries" in
WAApplication returns a collection with a nil element inside.

> Any idea where I can get BlockClosure and its related dependencies?

Either use a 3.9 beta image or load ClosureCompiler from SqueakMap.
But I really don't think this is gonna fix it.

(but don't enable #compileBlocksAsClosures)

Philippe

>
> Internal Error
> MessageNotUnderstood: UndefinedObject>>updateRoot:
>
> [] in WAApplication>>updateRoot: {[:ea | ea updateRoot: anHtmlRoot]}
> OrderedCollection>>do:
> WAApplication>>updateRoot:
> WASession>>updateRoot:
> WARender>>buildDocRoot
> WARender>>buildResponse
> [] in WARender>>render {[:u | url := u. self buildResponse]}
> [] in WASession>>respond: {[:cc | url := self actionUrlForContinuation: cc.
> response := responseBlock...]}
> ResponseContinuation class(Continuation class)>>currentDo:
> WASession>>respond:
> WARender>>render
> [] in WARender>>go {[self render]}
> BlockContext>>on:do:
> WARender>>withRenderNowHandler:
> [] in WARender>>go {[self withRenderNowHandler: [self render]. self
> shouldRedirect ifTrue: ...]}
> BlockContext>>on:do:
> WARender>>withPageExpiredHandler:
> WARender>>go
> [] in WARenderLoop>>run {[(WARender new root: root) go]}
> BlockContext>>repeat
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list