I want to query content built with CatalogAware ZClasses on my site.
I am able to get the abstract document ('abstract' method) which is a 
subobject of the document I want to display (let say 'Document' ZClass). But 
I don't know how to display the id of the resulting 'Document'.

With the following snippet I get a partial solution since I get the url:

<dtml-in Catalog>
<dtml-if "meta_type=='DTML Method' and id=='abstract'">

<a HREF="http://www.mydomain.com<dtml-var 

   <dtml-with "Catalog.getobject(data_record_id_)">
     <dtml-var "REQUEST['URL2']">



How can I get the id or title of (Document) instead of the url ?

Many thanks.

-- Kamon

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to