[Seaside] using a callback to render a new component..
sergiolist at village-buzz.com
Tue Apr 20 14:36:26 UTC 2010
rather than using the announce framework, i thought it would make more
sense to do the following.. unfortunately, it only almost works:
the main app is called: IMMain
i subclassed IMMain as another class: IMSinglePointView
IMMain subclass: #IMSinglePointView
just to test it, i registered IMSinglePointView as an application, and
it runs fine..
i overrode renderContentOn:, and that works fine too..
i have a few callbacks on IMMain that i would like to have pass an
object to IMSinglePointView..
in testing it just to get it to render, i am trying:
html anchor callback: [IMSinglePointView new]; with: 'some text'.
this only rerenders IMMain..
1. how do i forward the app from IMMain to IMSinglePointView..
2. can i pass it an object to chew on at the same time?
photographer, journalist, visionary
More information about the seaside