Wyatt Anderson escribi:
Hello All,
I am trying to use ZPT within a Zope Product I am trying to build.
I want to test the container type I am addding to to determine what
action to take. The following though
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
def
page templates
in a product?
Thanks,
Wyatt
-Original Message-
From: Santi Camps [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 4:26 AM
To: Wyatt Anderson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] ZPT in Zope Products
Wyatt Anderson escribió:
Hello All,
I am trying
Hi Wyatt,
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
def manage_addMyContainerForm(self, REQUEST):
pt = None
if self.meta_type in ['ContainerType1', 'ContainerType2']:
pt = PageTemplateFile('zpt/addMyContainerForm', globals())
Hello All,
I am trying to use ZPT within a Zope
Product I am trying to build.
I want to test the container type I am addding to to determine what
action
to take. The following though
from
Products.PageTemplates.PageTemplateFile import PageTemplateFile
def