<HTML><BODY>
<DIV>Thanks to Chris for response me, and I want that him excuse me, because 
I have an imprecision, and I feel very embarrassed because in the </DIV>
<DIV>"The Zope Book (2.6 Edition) </DIV>
<DIV>Amos Latteier, Michel Pelletier, Chris McDonough, Peter Sabaini" </DIV>
<DIV>the example is: </DIV>
<DIV>"</DIV>
<DIV>pt = context.hello_world_pt </DIV>
<DIV>s = pt(name="John Doe") </DIV>
<DIV>return s </DIV>
<DIV>" </DIV>
<DIV>And I asume that when I call a ZPT without parameters is: "return 
context.hello_world_pt", whereas whit parameters are same that the example. 
</DIV>
<DIV>&nbsp;</DIV>
<DIV>In spite of the above the "return context.hello_world_pt" in some cases 
works ok, and in others case return the zope object reference, instead of 
make a call to the object (in this case a ZPT). </DIV>
<DIV>Thanks to Chris Withers </DIV>
<DIV>Thanks to all !!!! </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>-----Original Message----- </DIV>
<DIV>From: Chris Withers <CHRIS@SIMPLISTIX.CO.UK>To: Leticia Larrosa </DIV>
<DIV><LETICIA@TESLA.CUJAE.EDU.CU>Cc: zope@zope.org Date: Fri, 11 Mar 2005 
15:25:46 +0000 Subject: </DIV>
<DIV>Re: [Zope] opening a ZPT from a script &gt; Leticia Larrosa wrote: &gt; 
&gt; "return context.ss" and works ok to. Besides in the Zope Book the &gt; 
examples &gt; &gt; are "return context.ss". &gt; &gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;Where? &gt; &gt; Chris &gt; &gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>-- &gt; Simplistix - Content Management, Zope &amp; Python Consulting 
&gt; - http://www.simplistix.co.uk &gt; 
_______________________________________________ &gt; Zope maillist - 
Zope@zope.org &gt; http://mail.zope.org/mailman/listinfo/zope &gt; ** No 
cross posts or HTML encoding! ** &gt; (Related lists - &gt; 
http://mail.zope.org/mailman/listinfo/zope-announce &gt; 
http://mail.zope.org/mailman/listinfo/zope-dev ) &gt; &gt; </DIV>
</BODY></HTML>