<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> </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> </DIV>
<DIV> </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 > Leticia Larrosa wrote: >
> "return context.ss" and works ok to. Besides in the Zope Book the >
examples > > are "return context.ss". > ></DIV>
<DIV> </DIV>
<DIV> Where? > > Chris > > </DIV>
<DIV> </DIV>
<DIV>-- > Simplistix - Content Management, Zope & Python Consulting
> - http://www.simplistix.co.uk >
_______________________________________________ > Zope maillist -
Zope@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 ) > > </DIV>
</BODY></HTML>