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

itsme213 itsme213 at hotmail.com
Thu Dec 6 20:06:42 UTC 2007

"Lukas Renggli" <renggli at gmail.com> wrote in message
>> Is this the right way to insert an X into a list of X's (for the cases 
>> where
>> static html ids will work)?
> It depends what you want to do. SUElement has many other cool methods
> to change your DOM elements.
>> Is there an SU equivalent to remove, hide, and show an element?
> The methods are called #remove, #hide and #show.

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

But this does not remove the 'idToRemove' element.

Thanks - Sophie 

More information about the seaside mailing list