[Zope-DB] DTML in ZPT

Philip Kilner phil at xfr.co.uk
Tue Aug 19 07:44:16 EDT 2003


Hi Dieter,

Dieter Maurer wrote:
> You do not use "dtml-" (especially "dtml-sqlvar") in ZPT.
> 
> The body of your Z SQL Methods remains DTML (with SQL extensions)
> even when you use PageTemplates for presentation.
> 

This was where I found it confusing.

> You can pass (keyword!) parameters to your Z SQL Methods.
> In ZPT, it looks somehow like:
> 
>    <XXX tal:repeat="row ZSQLMethod(FolderIssue=here.FolderIssue)">
>      ...
>    </XXX>
> 

Thanks for that - I'll experiment.

-- 

Regards,

PhilK

Email: phil at xfr.co.uk / Voicemail & Facsimile: 07092 070518

"the symbols of the divine show up in our world initially at the trash 
stratum." Philip K Dick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3403 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.zope.org/pipermail/zope-db/attachments/20030819/7c4b0e15/smime.bin


More information about the Zope-DB mailing list