[Seaside] generating callback from ajax

Lukas Renggli renggli at gmail.com
Mon Sep 19 12:01:01 UTC 2011


This is what #passenger: automates. It assigns arbitrary objects to DOM
nodes and retrieves them back later on. Look for senders, there are many
examples using it.

Lukas

On Monday, 19 September 2011, Bob Arning <arning at charm.net> wrote:
> Not intrinsically, but you likely have, or could easily create, something.
If you started with a collection of objects that you wanted to render on a
page, you could use each object's index in the list as its ID. When the
callback returned that index, you would know exactly which object it
referred to.
>
> Cheers,
> Bob
>
> On 9/19/11 3:15 AM, Milan Mimica wrote:
>
> On 18 September 2011 18:13, Milan Mimica <milan.mimica at gmail.com> <
milan.mimica at gmail.com> wrote:
>
> need IDs. I don't want to introduce them just to make the presentation
> layer happy.
>
> Oh is there something in Smalltalk like an address I could dereference
> an object to, and then later reliable and uniquely reference that same
> object using that address? Like a pointer or something.
>
>
>

-- 
Lukas Renggli
www.lukas-renggli.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110919/df4a2f8c/attachment.htm


More information about the seaside mailing list