From me at mikehogan.net Tue Jun 13 17:22:46 2006 From: me at mikehogan.net (Mike) Date: Tue, 13 Jun 2006 14:22:46 -0700 (PDT) Subject: [Wee-talk] How is this line of seaside code done in wee Message-ID: <479081.1150233766732.JavaMail.root@m16> Hi, Here is a line of seaside code that renders a link that, when clicked, calls a block of code on the server using ajax: r anchorWithAction:[] liveAction: [ :renderer | self renderTimeOn: renderer ] text: ?Update?. I know that something similar can be done with wee like this: p = proc {render_method_invoke(method)} r.anchor.onclick_update(method.name, p).with(method.name) However, in the seaside case, the block that is called once the link is clicked is given a renderer or canvas with which it can render a reply. Is there any way to get wee to provide a new renderer or canvas to blocks that are called through callbacks? Thanks very much. Mike. Receive and share. From darrick at innatesoftware.com Tue Jun 13 19:31:30 2006 From: darrick at innatesoftware.com (Darrick Wiebe) Date: Tue, 13 Jun 2006 19:31:30 -0400 Subject: [Wee-talk] How is this line of seaside code done in wee In-Reply-To: <479081.1150233766732.JavaMail.root@m16> Message-ID: <2006613193130.493443@SPLASH> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wee-talk/attachments/20060613/33d9fab4/attachment.htm