[Zope] Acquisition and Error Handling Questions

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Tue, 4 Dec 2001 15:03:04 +0300


On Tue, Dec 04, 2001 at 05:52:42AM -0500, Tim Owen wrote:
> Question Part 1: I want to set a cookie in a DTML method in sub-subfolder
> 3 and use it in a DTML document in sub-subfolder 4.  Looks like the
> cookie is not visible by the DTML document.  How do I make the cookie
> visible?

   Setting the path of the cookie.

> Question Part 2: When trying to call Z SQL Methods or Python Scripts in a
> sub-subfolder 4 from sub-subfolder 3 I get syntax errors.  How do I do
> that?   Tried the following
> 
> >From sub-subfolder 3 I call
> 
> <dtml-if expr="../sub-subfolder 4/function(parm)='_['variable']'">
                 ^^^^ Inside "" DTML expects a Python expression, not an
URL.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.