Open popup window after button click

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Open popup window after button click

Eduard Maydanik

Hi, code sample:

 

WARenderLoop new call: PopupComponent new

 

From  http://www.seaside.st/documentation/faq/how-to#20704718

 

Doesn’t work in current version.

 

I am using WebVelocity 1.1a.

 

WARenderLoopMain has no “call:” method.

 

What is a right implementation?

 

I need to open separate window with print version of document.

 

Best regards,

Eduard Maydanik

 


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Open popup window after button click

Julian Fitzell-2
Hi Eduard,

As I recall, I think the simplest (more or less) equivalent is:

self session presenter call: PopupComponent new

The render loop code now operates on the presenter stored by the
session, so although it is possible to start a new loop, there is
little benefit to doing so.

Julian

On Tue, Mar 1, 2011 at 11:11 AM, Eduard Maydanik <[hidden email]> wrote:

> Hi, code sample:
>
>
>
> WARenderLoop new call: PopupComponent new
>
>
>
> From  http://www.seaside.st/documentation/faq/how-to#20704718
>
>
>
> Doesn’t work in current version.
>
>
>
> I am using WebVelocity 1.1a.
>
>
>
> WARenderLoopMain has no “call:” method.
>
>
>
> What is a right implementation?
>
>
>
> I need to open separate window with print version of document.
>
>
>
> Best regards,
>
> Eduard Maydanik
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Open popup window after button click

Eduard Maydanik
Thanks!

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Julian
Fitzell
Sent: Tuesday, March 01, 2011 12:31 PM
To: Seaside - general discussion
Subject: Re: [Seaside] Open popup window after button click

Hi Eduard,

As I recall, I think the simplest (more or less) equivalent is:

self session presenter call: PopupComponent new

The render loop code now operates on the presenter stored by the
session, so although it is possible to start a new loop, there is
little benefit to doing so.

Julian

On Tue, Mar 1, 2011 at 11:11 AM, Eduard Maydanik <[hidden email]> wrote:

> Hi, code sample:
>
>
>
> WARenderLoop new call: PopupComponent new
>
>
>
> From  http://www.seaside.st/documentation/faq/how-to#20704718
>
>
>
> Doesn’t work in current version.
>
>
>
> I am using WebVelocity 1.1a.
>
>
>
> WARenderLoopMain has no “call:” method.
>
>
>
> What is a right implementation?
>
>
>
> I need to open separate window with print version of document.
>
>
>
> Best regards,
>
> Eduard Maydanik
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside