[Seaside] Regarding anchorWithPopupAction

Rajeev Lochan lochan94 at gmail.com
Wed Oct 10 08:21:18 UTC 2007


Hi All,
popupAnchor doesn't seem to work on IE 6.0.2900. I tried the following code.
When we click on anchor, we are rendered with a popup browser with counter
example, but the main page also renders a counter example. Anyone else has
also observed this ??


renderContentOn: html
       html popupAnchor
               name: 'Counter';
               extent: 800 at 600;
               callback: [ WARenderLoop new call: WACounter new ];
               with: 'popup counter'


Regards,
Rajeev

On 9/13/07, Petr Štěpánek <petr.stepanek at e-fractal.cz> wrote:
>
> 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
> >
> >
>
> _______________________________________________
> 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/20071010/56c21539/attachment-0001.htm


More information about the seaside mailing list