[Zope] the tree tag is driving this newbie up the wall

2000-06-27 Thread Walter A. Aprile
Hello, I am trying to write a tree access to a hyerarchy of folders containing custom objects, subclassed from the DTML Docuement. The inheritance path should be DTMLDocument - Article (my custom class) - every single article in the folders. I would like only Articles and

[Zope] DTML Document class Id bug, somewhat fixed. But now setName ...

2000-06-29 Thread Walter A. Aprile
Hi, I had (have) a problem with the Id property on an Article class that subclasses the DTML document. And indeed the problem was with the fact that I was subclassing the DTML Document, which as explained in http://www.zope.org/Members/AlexR/ZClassIDBug somewhat mangles the Id

[Zope] Removing part of a string (in an URL)

2000-06-30 Thread Walter A. Aprile
Hi, more newbie questions, I am afraid. I have a ZCatalog result form that boringly forms links this way: dtml-var "busca.getpath(data_record_id_)" Due to the way my site is organized, the URL I get has an unwanted part at the beginning. The part is always the same size, and