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