[Zope] Re: Referencing a Zope Instance through a Hyperlink

Alexandre Ratti alex@gabuzomeu.net
Thu, 09 Mar 2000 13:11:26 +0100


Hello,


you may want to take a look at this doc:

<http://www.zope.org/Members/AlexR/ZClassIDBug>

This looks like the ZClass ID bug problem.


Alexandre


At 12:00 08/03/2000 -0800, you wrote:
>Date: Wed, 08 Mar 2000 14:45:41 -0500
>To: zope@zope.org
>From: "M.J. Stahl" <mjstahl@bizux.net>
>Subject: [Zope] Referencing a Zope Instance through a Hyperlink
>
>
>I have a group of ZClass (DCTasks) stored in a folder
>'/tasks/generator/taskstorage'
>
>The index_html of '/tasks' is the interface to view the instances and
>certains properties that are saved on those instances. One of the
>properties is 'task_title' and is displayed as a hyperlink to view the rest
>of the properties of the instance.
>
>This is my problem, when I check the source of the page (/tasks/index_html)
>and I take a look at the hyperlinks for viewing the properties of the
>instance, it gives a URL like so:
>
>http://diis/tasks/generator/taskstorage/<string>
>
><string> should actually be replaced with the 'id' of the instance. This is
>so by the DTML code for index_html:
>
><a href="<dtml-var URL1>/generator/taskstorage/<dtml-var id>">
>   <dtml-var task_title>
></a>
>
>I have no idea why a string is taking the place of <dtml-var id> in
>referance to the instance.
>
>Any ideas would be helpful.
>
>Best regards,
>
>MJ Stahl