On Sat, Jul 26, 2008 at 12:28:29AM -0400, Edward Heil wrote:
> Each slot can have its own click handler, but it's sometimes tricky getting 
> the handler assigned to the right slot.  You might put a click handler 
> inside a flow's block, but the click handler will get assigned to the app 
> as a whole instead of the flow unless you specifically tell it otherwise.  
> One way to do it is to assign the slot explicitly with a variable and call 
> "click" as a method on that variable:
> 
> @this_flow = flow
> @this_flow.append { para "whatever " }
> @this_flow.click { alert "clicked this flow" }
> 
> but that's kind of unpleasant.

You're probably doing this inside a widget?  I've had to do this in
a widget before.  I'll put this on my list here.

_why

Reply via email to