[Seaside] Seaside + Comet + Open a new window

Lukas Renggli renggli at gmail.com
Sun Jan 21 09:20:54 UTC 2007

> self pusher
> push:'<script type="text/javascript">window.open(''http://localhost:8008/seaside/go/browse'');</script>'.
> It work for any static url, but I`m wondering if I can generate a URL
> to render a component on a new window.
> Something like:
> aComponent renderOnNewWindowUsing: self pusher.

Have a look at WAPopupAnchorTag and its superclasses on how to create
the JavaScript to open a new window.

As callback you need to setup a new render-loop. Something like ...

     WARenderLoop new
          call: (SomeComponent new
               accessor1: ...;


Lukas Renggli

More information about the Seaside mailing list