[Seaside] Seaside + Comet + Open a new window

Esteban Robles Luna esteban.roblesluna at gmail.com
Sun Jan 21 20:32:12 UTC 2007


Thanks Lukas,
It´s interesting to know some Seaside intrinsic things like the
WARenderLoop. Thanks for your help!



On 1/21/07, Lukas Renggli <renggli at gmail.com> wrote:
> > 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: ...;
>                ....;
>                yourself)
>
> HTH,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


-- 
Saludos
Esteban


More information about the Seaside mailing list