Re: [Zope] script calling template

2008-09-11 Thread Andreas Jung
--On 11. September 2008 09:18:09 -0700 David Bear <[EMAIL PROTECTED]> wrote: Thanks to both Paul and AJ -- both suggestions were helpful. The extended description Paul gave me below was particularly use. Here's what I learned: 1) the form object is automagically handed to the template when

Re: [Zope] script calling template

2008-09-11 Thread David Bear
Thanks to both Paul and AJ -- both suggestions were helpful. The extended description Paul gave me below was particularly use. Here's what I learned: 1) the form object is automagically handed to the template when you do a 'return context.mytemplate(item='something') 2) I assumed that I would have

Re: [Zope] script calling template

2008-09-11 Thread Paul Winkler
On Wed, Sep 10, 2008 at 07:57:29PM -0700, David Bear wrote: > I have a script that calls a template. > > The template has a tal expressions like this > > > > I want my script to call the template in such a way that the string > 'ploneDoc' is replaced by a different string. > > I'm not sure ho

Re: [Zope] creating a basic Z Search Interface form from the ZMI with Zope defaults creates error...

2008-09-11 Thread michael nt milne
This is the code from the start of the generated Zope form. I'd expect it to work since it generated it itself! :-) previous 20 results next 20 results michael On Thu, Sep 11, 2008 at 12:37 PM, michael nt milne <[EMAIL PROTECTED]> wrote: > Thanks for the response > > I'm using

Re: [Zope] creating a basic Z Search Interface form from the ZMI with Zope defaults creates error...

2008-09-11 Thread michael nt milne
Thanks for the response I'm using forms generated by Zope through Z Search Method and am not entering a start argument, simply entering text into a field and pressing submit... michael On Thu, Sep 11, 2008 at 7:30 AM, Israel Saeta PĂ©rez <[EMAIL PROTECTED]> wrote: > The line #65 in ZTUtils.Batc