Hi Bill, Bill Seitz wrote:
After trying to play with some debugging, I got tired of the headaches.
So I turned to zLOG, and tried to call it from with DT_Util.py, to find out the value of URL.
But I end up getting a "global name 'URL' is not defined" message. How can I work around this without having to rewrite chunks of internal Zope code?
This is the code causing the problem, right: URL[-(_.len(action)):]==action or URL[-17:]=='/manage_workspace' and _['sequence-start']) I know it's not much help, but in a simple mockup, it worked for me. What's the context of all this? Just a normal DTML method? What's action? cheers, Chris PS: The above code looks pretty contorted :-S What is it you're trying to achieve? PPS: DTML will lead you to many such head wrenching experiences, I'd strongly suggest moving to ZPT...