[Seaside] using a callback to render a new component..
sergio_101
sergiolist at village-buzz.com
Tue Apr 20 21:32:01 UTC 2010
> At the place where you instantiate your child component you pass on
> the parent component or the action block.
>
OKAY!
i got this to work.. i need to document this.. just for future
reference .. and for other goofballs like me learning this stuff.. but
here's what i did..
in the root, when i initialized the component, i did something like:
latestSpots := LatestSpots new rootComponent: self.
then, in LatestSpots, i put:
gotoIMDetail: anInterestPoint
(self rootComponent) call: IMSinglePointView new.
and it did just what i was hoping..
thanks!
--
----
peace,
sergio
photographer, journalist, visionary
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
More information about the seaside
mailing list