<HTML><BODY>
<DIV>Thanks to John Blair, I try "return context.ss()" and <SPAN>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?</SPAN><BR></DIV>
<DIV>Thanks lot to John Blair.</DIV>
<DIV>Thanks to all.</DIV>
<DIV><BR>-----Original Message-----<BR>From: john blair
<mailtome200420032002@yahoo.com><BR>To: Leticia Larrosa
<LETICIA@tesla.cujae.edu.cu>, zope@zope.org<BR>Cc: <BR>Date: Wed, 9
Mar 2005 20:36:43 -0800 (PST)<BR>Subject: Re: [Zope] opening a ZPT from a
script<BR><BR>> <BR>> --- Leticia Larrosa
<LETICIA@tesla.cujae.edu.cu><BR>> wrote:<BR>> > Hi all:<BR>
> > I have the following script:<BR>> > "return context.ss"<BR>
> > and in the same folder have a ZPT named ss whose<BR>> > html
code is:<BR>> > "hi"<BR>> > testing my script I obtain the
following message:<BR>> > "<ZopePageTemplate at ss>" <BR>>
> instead of the web page with the text "hi", any idea<BR>> >
why?<BR>> > I use zope2.7<BR>> > thanks in advance<BR>> >
Leticia<BR>> > > _______________________________________________<BR>
> > Zope maillist - Zope@zope.org<BR>> >
http://mail.zope.org/mailman/listinfo/zope<BR>> > ** No cross
posts or HTML encoding! **<BR>> > (Related lists - <BR>> >
http://mail.zope.org/mailman/listinfo/zope-announce<BR>> >
http://mail.zope.org/mailman/listinfo/zope-dev )<BR>> > <BR>>
<BR>> try return context.ss()<BR>> <BR>> <BR>>
<BR>> __________________________________ <BR>> Do
you Yahoo!? <BR>> Yahoo! Small Business - Try our new resources site!<BR>
> http://smallbusiness.yahoo.com/resources/ <BR>>
_______________________________________________<BR>> Zope maillist
- Zope@zope.org<BR>>
http://mail.zope.org/mailman/listinfo/zope<BR>> ** No cross posts
or HTML encoding! **<BR>> (Related lists - <BR>>
http://mail.zope.org/mailman/listinfo/zope-announce<BR>>
http://mail.zope.org/mailman/listinfo/zope-dev )<BR>> <BR>> <BR>
</DIV>
</BODY></HTML>