[Zope] Mixing of ZPT and DTML
Jens Vagelpohl
jens@zope.com
Wed, 30 Jul 2003 17:49:10 -0400
On Wednesday, Jul 30, 2003, at 17:32 US/Eastern, Carsten Gehling wrote:
> Since I'm new to Zope, I've been able to jump at ZPT from the beginning
> without needing to "unlearn" DTML first...
>
> One thing nags me though: I use ZPT for my product classes web methods
> when
> while constructing an intranet. However it doesn't seem that I can use
> the
> same web methods inside ZMI, since ZMI still uses DTML and presents
> its tabs
> through the DTML variable "standard_header".
>
> What do people generally do when using ZPT? Do you create separate
> editforms/display files for both ZPT (for use in you own application)
> and
> DTML (for use in ZMI)? Or have I missed some vital point?
>
> - Carsten
>
If all you want is the tabs you can do something like this::
<h1 tal:replace="structure python:
here.manage_tabs(management_view='Foo Edit')">
Foo Edit Form
</h1>
jens