[Seaside] Updaters clicks and changes on (sub)components

Sebastian Sastre ssastre at seaswork.com
Mon Nov 26 16:08:04 UTC 2007

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de Lukas Renggli
> Enviado el: Domingo, 25 de Noviembre de 2007 19:34
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] Updaters clicks and changes on (sub)components
> > > 1. backtracking of the children (don't know if this works as 
> > > expected with AJAX)
> > >
> > I've tried by implementing #states returning all the 
> children but it 
> > didn't work.
> As always, you have to return from #states the object which 
> contents you want to backtrack, not the objects themselves.
> Cheers,
> Lukas
Mmm I'm confused now. Let's see an example. I have a parent presenter A that
has children B and C. If I want to backtrack B and C then I thought that one
can achieve that by implementing in A 
	^ Array with: B with: C

That's the idea of the use of states right?

What I made to see if that solves that problem was to make states in the
homologous to A component to return all it's children (of that component
alone). As told, that didn't work.



More information about the seaside mailing list