[Seaside] Re: SU - insert, remove, hide, show

Lukas Renggli renggli at gmail.com
Thu Dec 6 20:28:23 UTC 2007


> Sorry to be a pain, but I was not able to figure out how to use them. I
> tried
>     html anchor
>         onClick: (html updater
>             id: 'idToRemove' ;
>             insertion: SUElement new remove ;
>             callback: [  ]) ;
>     with: 'del.'

No updater is needed in this example. Just use:

    html anchor
        onClick: (html element
           id: 'idToRemove';
           remove);
        with: 'del'

Lukas

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


More information about the seaside mailing list