[Seaside] Regarding anchorWithPopupAction
Petr Štěpánek
petr.stepanek at e-fractal.cz
Thu Sep 13 15:00:42 UTC 2007
Alexandre and Rajeev,
yes, that helped!
Thanks a lot!
Petr
On 9/13/07, Alexandre Paes <alex.paes at streetdogstudio.com> wrote:
>
> Hi,
> In case you want to stick with the button this should do it as well.
>
>
> renderContentOn: html
>
> html button onClick: 'window.close()'; value: 'Close window'
>
>
> Cheers,
>
> Alexandre
>
>
> Em 09/13/07 09:40 Petr Štěpánek escreveu:
> > Hi,
> > I found this help on opening a popup window. My question is how to
> > close it (using a button inside the window).
> >
> > renderCloseOn: html
> >
> > html form: [
> > html html: '<a href="javascript: window.close ()">Close
> > window</a>' "<-- hack "
> >
> > "I need something like:"
> >
> > html submitButton
> > class: 'button-other';
> > callback: [aaaa.... close the widow... how?];
> > text: 'Close window'
> >
> > ]
> >
> >
> > Thanks a lot!
> > Petr
> >
> > On 6/30/07, *Philippe Marschall* < philippe.marschall at gmail.com
> > <mailto:philippe.marschall at gmail.com>> wrote:
> >
> > If you have a look at WAPopupTest (don't know whether this is in you
> > Seaside):
> >
> > renderContentOn: html
> > html popupAnchor
> > name: 'Counter';
> > extent: 800 at 600;
> > callback: [ WARenderLoop new call: WACounter new ];
> > with: 'popup counter'
> >
> > Philippe
> >
> >
> > 2007/6/30, Rajeev Lochan <lochan94 at gmail.com
> > <mailto:lochan94 at gmail.com>>:
> > > Dear Seasiders,
> > > I have truncated an old Mail from Seaside List. I have similar
> > issue. I need
> > > a link that opens a new browser window and renders MyComponent.
> > >
> > > anchorWithPopupAction: extent: text
> > >
> > > doesnot seem to work with Seaside2.7a1-mb.210.mcz
> > >
> > >
> > > "I would like to create a link that opens a new browser window
> > > and renders a component.
> > > I've been playing arount with target="_blank" for opening a new
> > >
> > > window but I don't know how to render the contents.
> > >
> > >
> > > Hi Mike,
> > >
> > > The usual way to do this right now is something like this:
> > >
> > > html
> > >
> > > anchorWithPopupAction: [WARenderLoop new call: MyComponent new]
> > > extent: 300 at 500
> > > text: 'My Popup'
> > >
> > > Avi"
> > >
> > >
> > >
> > > Help Needed,
> > > Rajeev
> > >
> > >
> > >
> > > --
> > > Rajeev Lochan
> > >
> > > Co-founder, AR-CAD.com
> > >
> > > http://www.ar-cad.com
> > > +91 9212090622 (Gurgaon)
> > > 080 65355873 (Bangalore)
> > > _______________________________________________
> > > Seaside mailing list
> > > Seaside at lists.squeakfoundation.org
> > <mailto:Seaside at lists.squeakfoundation.org>
> > >
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> > >
> > >
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > <mailto:Seaside at lists.squeakfoundation.org>
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> > <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070913/d1d929d5/attachment-0001.htm
More information about the seaside
mailing list