[Zope] opening a ZPT from a script

Leticia Larrosa LETICIA at tesla.cujae.edu.cu
Thu Mar 10 11:28:45 EST 2005


Thanks to John Blair, I try "return context.ss()" and works ok. I find this 
logic, but in many examples, and in others script that i make i use the 
"return context.ss" and works ok to. Besides in the Zope Book the  examples 
are  "return context.ss". Any idea?

Thanks lot to John Blair.
Thanks to all.

-----Original Message-----
From: john blair <mailtome200420032002 at yahoo.com>
To: Leticia Larrosa <LETICIA at tesla.cujae.edu.cu>, zope at zope.org
Cc: 
Date: Wed, 9 Mar 2005 20:36:43 -0800 (PST)
Subject: Re: [Zope] opening a ZPT from a script

> 
> --- Leticia Larrosa <LETICIA at tesla.cujae.edu.cu>
> wrote:
> > Hi all:
> > I have the following script:
> > "return context.ss"
> > and in the same folder have a ZPT named ss whose
> > html code is:
> > "hi"
> > testing my script I obtain the following message:
> > "<ZopePageTemplate at ss>" 
> > instead of the web page with the text "hi", any idea
> > why?
> > I use zope2.7
> > thanks in advance
> > Leticia
> > > _______________________________________________
> > Zope maillist  -  Zope at zope.org
> > http://mail.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://mail.zope.org/mailman/listinfo/zope-announce
> >  http://mail.zope.org/mailman/listinfo/zope-dev )
> > 
> 
> try return context.ss()
> 
> 
>       
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/ 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050310/a26fc6ed/attachment.htm


More information about the Zope mailing list