[Zope] Python-Script Question

Peter Lohmann listenmann@elrond.lohmann-services.de
Sat, 8 Jun 2002 19:59:37 +0200


Hi!

I have the following directory structure

layout 
|
`-- retro
`-- classic
`-- somethingelse

I want to get the objects inside one of the style-directory from a
python program, chosen by a variable that is set.

So i have a variable style="retro" and I want to access the objects in
the retro-Folder. What do I do?
Normally I would access the contents via
context.layout.retro.objectValues() - now i need something like
context.layout.(style).objectValues().
Is this possible? How?

Bye

Peter