Re: [Zope-dev] dynamically using inheritance

2002-02-04 Thread Ed Colmar
Thanks for the reply. I tried this out, and I'm getting a key error: Hmmm... Any other suggestions? Should I specify with PARENTS first? Thanks again! -e- Site Error An error was encountered while publishing this resource. KeyError Sorry, a site error occurred. Traceback

Re: [Zope-dev] dynamically using inheritance

2002-02-03 Thread R. David Murray
On Sat, 2 Feb 2002, Ed Colmar wrote: dtml-call REQUEST.set('skinname', 'skins.default') dtml-with _.string(skinname) This is a [EMAIL PROTECTED] 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

[Zope-dev] dynamically using inheritance

2002-02-02 Thread Ed Colmar
Hey all. 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