[Seaside] Chaining "modal" components

Lukas Renggli renggli at gmail.com
Mon Oct 2 14:53:12 UTC 2006

> I've seen also in the Scriptaculous demo, clicking the
> View Source link there's a kind of stuff like I want
> (a CHB appears using CSS's z-index) and the links
> behind are disabled. This type of "modal" component
> looks what I've been looking for. I don't know if
> there's a better way to do this.

The lightbox is just a visual enhancement to the good old #call:
method. To start with I would just use #call: that replaces the
receiver with the argument, in other words you have your modal dialog.
#call: can also be nested, whereas this probably doesn't work well
with the lightbox. Use #answer: to close the modal dialog (this is the
same for #call: and #lightbox:).


Lukas Renggli

More information about the Seaside mailing list