[Seaside] Finding the parent component of a rendered component
Lukas Renggli
renggli at gmail.com
Mon Apr 23 21:16:47 UTC 2007
> If I am using html render: <blah> to render a sub-component of the current
> component, is there any way to reference the component who is the
> sub-component's parent?
>
> So, I have
> ComponentA
> |
> |
> ---ComponentB
>
> And from ComponentB#renderContentOn I want to be able to do something like
> parent someFunction
> and have that call the function someFunction on whatever component rendered the
> current component.
>
> I'm sure there's probably some way to do that, but I don't know what it is.
Please check the thread "Seaside Components: Parent / Children"
http://lists.squeakfoundation.org/pipermail/seaside/2006-May/007588.html
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list