[Seaside] Regarding anchorWithPopupAction
Rajeev Lochan
lochan94 at gmail.com
Thu Sep 13 13:25:33 UTC 2007
Hi,
Whats wrong with
html anchor
class: 'anchor-other';
url: 'javascript:window.close ()';
with: 'Close Window'
and in CSS for anchor-other, make it look like a button if you want.
Hope that helps,
Rajeev
On 9/13/07, Petr Štěpánek <petr.stepanek at e-fractal.cz> wrote:
>
> 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> 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>:
> > > 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
> > > 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
>
>
--
Rajeev Lochan
Co-founder, AR-CAD.com
http://www.ar-cad.com
+91 9243468076 (Bangalore)
080 65355873
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070913/3751dd2f/attachment.htm
More information about the seaside
mailing list