[Zope] dynamically using inheritance

Ed Colmar ed@sage.greengraphics.net
Sun, 3 Feb 2002 12:56:46 -0800 (PST)


I'm working ona little skinning implementation where I want to pull a 
folder name out of a database, then navigate to it to get dtml methods.

Hardcoding it is easy, but how exactly would I insert a variable into this 
simple dtml-with?

<dtml-with skins.default>
<dtml-var standard_skin_appearance>
</dtml-with>

to get an idea of how the site is layed out, here's where the skins 
and inside data would live:

www.mysite.com:8080/skins/default/standard_skin_appearance

I tried variations on:

<dtml-call "REQUEST.set('skinname', 'skins.default')">
<dtml-with "_.string(skinname)">

with no luck

Any suggestions on the proper syntax to do this?

Thanks!

-e-