[Seaside] onClick request

Lukas Renggli renggli at gmail.com
Wed May 23 11:01:42 UTC 2007


> I like to produce an onClick handler which has a callback.
> The callback just needs to reload the page as usual. It
> sounds relatively easy to me but I didn't find anything
> how to accomplish that.

html anchor
    onClick: (html evaluator
        callback: [ :s |
           "your callback code"
           s refresh ])

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list