[Zope] ZClass based on DTML Document
Andreas
andreas@aHIT.de
Tue, 29 Feb 2000 18:13:59 -0700
Hi,
I created a POIDocumentClass (ZClass based on DTML Document; meta type
PIO Document) .
Than I created an instance of this POIDocumentClass id 'MyDoc' title 'My
Document'.
Now when I try to find all POIDocumentClass instances in a Folder I do
the following:
<dtml-with aq_parent>
<!--#in "objectItems(['POI Document','DTML Document'])"-->
<!--#if
"AUTHENTICATED_USER.has_permission('View',_.getitem('id',1))"-->
<a href="<!--#var "absolute_url()"-->"><!--#var title--></a><BR>
<!--#/if-->
<!--#/in-->
</dtml-with>
I get back the right title 'My Document' but absolute_url() returns
http://myserver:8080/foo/%3cstring%3e instead of
http://myserver:8080/foo/MyDoc
When I create a DTML Document instance within the same Folder
absolute_url() works fine.
I suspect there is something wrong with my POIDocumentClass :-(
Can anybody please explain this behaviour ?
--
_________________________________________________________
Andreas Heckel andreas@aHIT.de