[Zope] tree plus/minus url
Tino Wildenhain
tino@wildenhain.de
Mon, 14 Aug 2000 10:54:40 +0200
Ragnar Beer wrote:
>
> I found quite an easy solution for Zope 2.1.6:
>
> In lib/python/TreeDisplay/TreeTag.py you have to replace the "old
> code" with the "new code". (Blame me - I forgot to make a copy
> beforehands which keeps me from using diff.)
>
> The idea is to "export" the piece of code that puts together the url
> to treeData['tree-item-clickurl'] so that you can access it with
> <dtml-var tree-item-clickurl> within your tree-tag. I haven't checked
> this for unwanted side effects. Perhaps someone more familiar with
> the zope code could do that? For me it works fine!
Would you mind including an alias for tree-item-clickurl which reads
tree_item_clickurl before posting it to the collector?
I hope we can make all this ugly hypenation variables go away someday...
Regards
Tino Wildenhain
_[_['sequence-item']] avoidance taskforce.