[Seaside] A Comix web application

John McKeon p3anoman at gmail.com
Tue Mar 23 00:30:07 UTC 2010


Hi Michael,

You can't call a rendering method in the callback block, because when that
block executes you are not in a rendering loop - the html variable is
undefined at that point.
Your callback could do something that updates the state of your component,
like set a variable with the selected value 'B' . Have a look at the
book<http://book.seaside.st/book/getting-started/pharo-squeak/first-component/behavior>
 In the simplest scenario, modify your renderContentOn: method to call the
list rendering method with the selected value, if there is one assigned.

HTH
John
-- 
http://jmck.seasidehosting.st
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100322/9af07f34/attachment.htm


More information about the seaside mailing list