4 Nov
2000
4 Nov
'00
3:56 a.m.
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