[Zope] Dtml-in objectItems

Mike Renfro renfro@tntech.edu
Fri, 25 May 2001 06:52:50 -0500


On Fri, May 25, 2001 at 01:33:30PM +0200, Paul Zwarts wrote:

>    <dtml-in expr="objectIds('Folders')">
>       <a href="&dtml-absolute_url;"><dtml-var title_or_id></a>
>    </dtml-in>
> 
> The code does not raise an error, it just doesnt display any results.

As Oleg already replied, "Folders" is not a standard
meta-type. Assuming you use Netscape (or IE, most likely), hold your
mouse over the icon of any object in the management interface. The
icon's alt text value will appear, which happens to be identical to
the object's meta-type.

(The short answer is "Folder", not "Folders". There's an example very
similar to this in the Zope book, too.)

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu