[Seaside] Links list

Ramon Leon rleon at insario.com
Wed Apr 12 20:20:50 UTC 2006

> Yes, that fixed the problem, thanks. Now I see that anchorWithAction:
> that I tried before fixes the context for user. Maybe this 
> call should do it too? I have followed the call using debugger, and
> WACallbackRegistry>>registerActionCallback: does indeed fix the
> context, but unfortunately not of the block passed to
> SUAjax>>callback:, but of the new block that SUAjax>>callback: creates
> from the one that I passed to it.

Any time you use a block in a loop, and store a reference to :each,
you'll need to fixTemps, very common thing to keep in mind. But
callback: doesn't always need fixTemps, only when it's used in this
particular scenario.  3.9 should have full block closures so this
shouldn't be a problem in the future.

More information about the Seaside mailing list