[Seaside] using a callback to render a new component..

sergio_101 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
	instanceVariableNames: ''
	classVariableNames: ''
	poolDictionaries: ''
	category: 'InterestMapper'

just to test it, i registered IMSinglePointView as an application, and
it runs fine..

i overrode renderContentOn:, and that works fine too..

now..

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..

and

2. can i pass it an object to chew on at the same time?

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