[Zope-dev] Is it possible to get REQUEST from dtml tag class.

Y. Cheng ycheng@sinica.edu.tw
Mon, 10 Dec 2001 17:55:29 +0800


Hi,

There is a bug in dtml-tree, the bug should be in file:

Zope-2.5.0b2-src/lib/python/TreeDisplay.py

we need to know BASEPATH1 around line 626 which is:
------------------------------
            if exp:
                ptreeData['tree-item-expanded']=1
                output('<A NAME="%s" HREF="%s?%stree-c=%s#%s">'
                       '<IMG SRC="%s/p_/mi" ALT="-" BORDER=0></A>' %
                       (id, root_url, param, s, id, script))
            else:
                output('<A NAME="%s" HREF="%s?%stree-e=%s#%s">'
                       '<IMG SRC="%s/p_/pl" ALT="+" BORDER=0></A>' %
                       (id, root_url, param, s, id, script))
            output('</TD>\n')
------------------------------

sorry I don't know how to fix this,

thank for your great work for zope.

Yuan-Chen Cheng