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
"The Zope Book (2.6 Edition)
Amos Latteier, Michel Pelletier, Chris McDonough, Peter Sabaini"
the example is:
"
pt = context.hello_world_pt
s = pt(name="John Doe")
return s
"
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.
 
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).
Thanks to Chris Withers
Thanks to all !!!!
 
 
-----Original Message-----
From: Chris Withers To: Leticia Larrosa
Cc: zope@zope.org Date: Fri, 11 Mar 2005 15:25:46 +0000 Subject:
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". > >
 
 Where? > > Chris > >
 
-- > 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 ) > >