[Seaside] self call: not working

Keith Hodges keith_hodges at yahoo.co.uk
Fri Jan 25 13:09:39 UTC 2008

John Thornborrow wrote:
> Hi all,
> I'm trying to use #call: but it's not working as expected.
> renderContentOn: html
> 	| answer |	
> 	answer := self call: (MyComponent new).
> 	"do other stuff with answer .."
> Another (and simple) example:
> renderContentOn: html
>   self inform: 'foobar'
> both render blank pages. Is this something I've configured incorrectly
> somewhere, or is there a bug? (Originally occured with
> Seaside-2.8a1-pmm.476, just tested with Seaside-2.8a1-tbn.539)
Both of these are usually used as part of a callback, so as to respond
to a user action.

renderContentOn: html

    html anchor
       callback: [ answer := self call: (MyComponent new ];
       with: 'click me'.

best regards


More information about the seaside mailing list