[Seaside] Re: lightbox - used in a callback - what am I doing
john at pinesoft.co.uk
Wed Jan 23 17:21:00 UTC 2008
> I believe #lightbox cannot be used within Ajax callbacks, only with full
> page redraws.
This is my understanding too.
> e.g. Something like this should work:
> html anchor
> callback: [ self lightbox:
> (SUClassBrowser new newClass: MyTestClass)];
> with: [html image url: ...]
> Hth - Sophie
That's how I use it.
I'd imagine something like the following could work, but I am merely
brain dumping/storming, I have not even tried, let alone tested it, and
it will need heavy tweaking. CSS wouldn't be pleasant, either:
onClick: (html updater
callback: [ :ren | ren render: SomeComponent new ]);
with: 'Show YourComponent'.
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside