[Zope] Using Zope Page Templates for forms (tabs of products)

Pupeno pupeno at pupeno.com
Fri Aug 13 11:26:24 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a product for which I am adding another tab, or lable or whatever you 
call it, that is, I added a dict to manage_options.
Now, what I'm doing in fact, is turning a script and a template I did to a tab 
to integrate it in the product.
I've done everything with zpt (I try to avoid dtml) but everything I read on 
doing this is done in dtml, so, my question is how do I do this kind of 
stuff:
<dtml-var manage_page_header>
<dtml-with "_(management_view='Bounce')">
<dtml-var manage_tabs>
</dtml-with>
and
<dtml-var manage_page_footer>
in ZPT.
And how do I make a call similar to this:
DTMLFile('dtml/manage_bounceForm', globals())
but for a zpt (currently, I have the zpt as an object, created in an instance 
of the product, not as a file on the product, and I'm calling it like this:
return self.importerTemplate(self, REQUEST, message=None)
Thanks.
- -- 
Pupeno: pupeno at pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHN2jfW48a9PWGkURAkkrAJ9GCO5aG12qq8CCBseMSTDpNTJ9VwCdEASy
Dg3gyiSVgsI0OHldOyzMnBo=
=Rsqw
-----END PGP SIGNATURE-----


More information about the Zope mailing list