[ZPT] ZPT for manage_addForm

Michael R. Bernstein webmaven@lvcm.com
26 Feb 2002 19:12:32 -0800


On Thu, 2002-02-14 at 12:20, cccurvey wrote:
> Hi all,
> 
> I'm working through some of the product examples, and I'd like to use 
> a ZPT page rather than a DTML page for the form that calls my 
> constructor.    I had everything working with DTML, but as soon as I 
> try to change to ZPT, I get the "Zope Quick Start" page when I try to 
> add a new instance of my product.
> 
> The code in my product class file looks like:
> 
> --------
> manage_addForm = PageTemplateFile("www/manage_addForm", globals())
> constructors = (manage_addForm, manage_addAction)
> --------
> 
> I think this is the relevant code (manage_addAction is defined and 
> works with DTML).  I've created a file in my www directory called 
> manage_addAction.zpt.  Any ideas what I'm doing wrong?

I'm seeing this same problem (Zope 2.5.0) and another developer has
confirmed that the problem does *not* exist with 2.4.3 + ZPT.

This seems to be a bug.

Michael.