[Zope-dev] dynamically using inheritance

R. David Murray bitz@bitdance.com
Mon, 4 Feb 2002 01:23:28 -0500 (EST)


On Sat, 2 Feb 2002, Ed Colmar wrote:
> <dtml-call "REQUEST.set('skinname', 'skins.default')">
> <dtml-with "_.string(skinname)">

This is a zope@zope.org question rather than a zope-dev
question, but:

<dtml-with "_[skinname]">

should solve your problem.  That looks the string held in
skinname up in the namespace and passes it to dtml-with.

--RDM