[Zope] "Dynamic" dtml-with

Geir Bækholt Geir Bækholt
Mon, 11 Nov 2002 21:37:50 +0100


Hello Roger, 
Monday, November 11, 2002, 8:46:22 PM, you wrote:
RF> Is there a syntax I can use to include another folder in my namespace, when
RF> I wont know which folder until runtime?
..
RF> something similar to:
RF>         <dtml-with "CurrentCustomerString">
RF> to get the correct customer folder in my namespace.

ehm.. it has been at least a year now with no DTML, but i seem to
recall that something like this should work..:

<dtml-with "_[CurrentCustomerString]">

if CurrentCustomerString is a string equal to the id of the folder you
want to include...

hope it works :)

-- 
Geir Bækholt        geir@funcom.com
Tools/HCI-developer
Tools/Billing - Product Operations
Funcom Oslo