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

itsme213 itsme213 at hotmail.com
Thu Dec 6 17:16:06 UTC 2007


Is this the right way to insert an X into a list of X's (for the cases where 
static html ids will work)?

XComponent>>
renderXInserterOn: html
 ^ html anchor
  onClick: (html updater
    id: 'xList' ;
    insertion: SUInsertion bottom ; "or top, above, below"
    on: #addXAndRenderOn: of: self) ;
  with: 'add X'

XComponent>>
addXAndRenderOn: r on: selector of: obj
  "make change by adding one X to domain model, re-paint just the new X"

Is there an SU equivalent to remove, hide, and show an element?

Thanks,

Sophie 





More information about the seaside mailing list