Use: /path/to/the/object/with/${some/magic/variables}/to/solve/some/paths/in/a/simplest/way

You could do that converting the path above to

python: path(path('string:' + '/path/to/the/object/with/${some/magic/variables}/to/solve/some/paths/in/a/simplest/way'))

or in a generic way:

python: path(path('string:' + expr))

No more than 5 o 6 lines changed and a lot of code saved

2008/8/11 Andreas Jung <lists@zopyx.com>


--On 11. August 2008 15:48:21 +0200 Garito <garito@sistes.net> wrote:

Hi Philipp!
Thank you so much for your response but in this lines is were the engine
loads the possibilities but not were evaluate the current expression

I would like to evaluate some condition before to load the class who
resolves the expression (and witch is loaded in the code you point me)


Sounds strange to me. Usecase?

-aj



--
Mis Cosas
http://blogs.sistes.net/Garito
Zope Smart Manager
http://blogs.sistes.net/Garito/670