[Zope] fmt in DTML vars- or, grouping Documents

Chris Withers chrisw@nipltd.com
Fri, 12 May 2000 22:32:17 +0100


Andrew Diller wrote:
> I know it must be something with the fmt= , but I can't find it.

No fmt is for things like dates, read the DTML Guide or the Zope Quick
Reference at http://zdp.zope.org

> Here is what I have:
> -------------------------
> <h2>Section 1: Applications</h2>
> <dtml-var "apps.draft_1_dave" fmt="html">
> 
> <hr>
> 
> <h2>Section 2: Network Access Devices</h2>
> <dtml-var "nad.draft_1_acd" fmt=html>
> 
> ------------

Try this, it might give what you want:

<dtml-var "apps.draft_1_dave()">

Or to be more extreme and correct:
<dtml-with apps>
 <dtml-var draft_1_dave>
</dtml-with>

cheers,

Chris