[Zope] opening a ZPT from a script

john blair mailtome200420032002 at yahoo.com
Wed Mar 9 23:36:43 EST 2005


--- 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/ 


More information about the Zope mailing list