[Zope] error in Zope book
Michel Pelletier
michel@digicool.com
Fri, 03 Nov 2000 19:56:49 -0800
michael angelo ruberto wrote:
>
> in chapter 5 the example Creating a File Library has an error in the sorting
> method.
>
> ---ERROR--------------------------------------------------------------------
> -------
>
> <dtml-in expr="objectValues('File')"
>
> ~this should be <dtml-in expr="PARENTS[0].objectValues(['File'])"
> ~it doesn't work otherwise.
>
The reason why it doesn't is because you are using a DTML Document
instead of a DTML Method:
DTML can help you save time maintaining this library. Create an
*index_html* DTML Method in the *Files* folder to list all the
^^^^^^^^^^^
files in the library::
-Michel