[Seaside] A Comix web application
Michael Delache
vladmanchev at gmail.com
Tue Mar 23 08:23:06 UTC 2010
yes that's right. i saw that a couple of minutes after sending my
mail. i changed for a method which refresh the contents in an instance
variable which is rendered after that. thanks for the link
Le 23 mars 2010 à 01:30, John McKeon <p3anoman at gmail.com> a écrit :
> 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
> 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
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100323/8d59a68d/attachment.htm
More information about the seaside
mailing list