[Seaside] Regarding anchorWithPopupAction
lochan94 at gmail.com
Mon Jul 2 17:23:51 UTC 2007
Thanks a lot for your help. The code you showed works well for a normal
component. In my case, I had to print the contents of the page, so I thought
it was good if I could open another browser with all my contents. I did that
using the following code.
extent: 800 at 600;
callback: [self printPage ];
with: 'Print My Page'
| temp |
temp := PagePrintView new.
temp model: self model.
WARenderLoop new call: temp.
I need one more thing. Is is possible to add a link on a page (say Print
Page), so that clicking that triggers Printer Options (Instead of going for
File>> Print, in browser's tab).
Thanks in advance,
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
> renderContentOn: html
> html popupAnchor
> name: 'Counter';
> extent: 800 at 600;
> callback: [ WARenderLoop new call: WACounter new ];
> with: 'popup counter'
> 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
> > 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
+91 9212090622 (Gurgaon)
080 65355873 (Bangalore)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Seaside