Printing a page in seaside

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

Printing a page in seaside

ching
Hi Seaside,

If one were to have a button for a #print method,  how would #print be done in Seaside?

Thanks in advance,

Ching

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

Re: Printing a page in seaside

yudi-3
== returns object id.
The first 0.06 and the second 0.06 are different object with equal reference.

2007/8/30, Ching de la Serna <[hidden email]>:
Hi Seaside,

If one were to have a button for a #print method,  how would #print be done in Seaside?

Thanks in advance,

Ching

_______________________________________________
Seaside mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




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

Re: Printing a page in seaside

Rajeev Lochan
In reply to this post by ching
Hi Ching,

html anchor url: 'javascript:window.print ()';
                                 with: 'Print'

Should serve the purpose if you want to print the page that is rendered.

Rajeev



On 8/31/07, Ching de la Serna <[hidden email]> wrote:
Hi Seaside,

If one were to have a button for a #print method,  how would #print be done in Seaside?

Thanks in advance,

Ching

_______________________________________________
Seaside mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">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
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Printing a page in seaside

Boris Popov, DeepCove Labs (SNN)
This may also be written as,

(html anchor)
  onClick: 'window.print()';
  with: 'Print'

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: [hidden email] [mailto:seaside-
> [hidden email]] On Behalf Of Rajeev Lochan
> Sent: Friday, August 31, 2007 6:33 AM
> To: Seaside - general discussion
> Subject: Re: [Seaside] Printing a page in seaside
>
> Hi Ching,
>
> html anchor url: 'javascript:window.print ()';
>                                  with: 'Print'
>
> Should serve the purpose if you want to print the page that is
rendered.

>
> Rajeev
>
>
>
>
> On 8/31/07, Ching de la Serna <[hidden email]> wrote:
>
> Hi Seaside,
>
> If one were to have a button for a #print method,  how would
#print

> be done in Seaside?
>
> Thanks in advance,
>
> Ching
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
>
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
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Printing a page in seaside

Philippe Marschall
In reply to this post by Rajeev Lochan
2007/8/31, Rajeev Lochan <[hidden email]>:
> Hi Ching,
>
> html anchor url: 'javascript:window.print ()';
>                                  with: 'Print'

You can combine this with the CSS media type print.

Cheers
Philippe

> Should serve the purpose if you want to print the page that is rendered.
>
> Rajeev
>
>
>
>
> On 8/31/07, Ching de la Serna <[hidden email]> wrote:
> >
> > Hi Seaside,
> >
> > If one were to have a button for a #print method,  how would #print be
> done in Seaside?
> >
> > Thanks in advance,
> >
> > Ching
> >
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> >
> 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
> _______________________________________________
> 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: Printing a page in seaside

ching
Thanks Philippe, Rajeev, Boris for the help. I am sure others in my situation will also benefit from your posts.

Cheers,

Ching.

On 9/1/07, Philippe Marschall <[hidden email]> wrote:
2007/8/31, Rajeev Lochan <[hidden email]>:
> Hi Ching,
>
> html anchor url: 'javascript:window.print ()';
>                                  with: 'Print'

You can combine this with the CSS media type print.

Cheers
Philippe

> Should serve the purpose if you want to print the page that is rendered.
>
> Rajeev
>
>
>
>

> On 8/31/07, Ching de la Serna <[hidden email]> wrote:
> >
> > Hi Seaside,
> >
> > If one were to have a button for a #print method,  how would #print be
> done in Seaside?
> >
> > Thanks in advance,
> >
> > Ching
> >
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> >
> 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
> _______________________________________________
> 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