Alan Gibson wrote:
I am trying to create a resource type that will simply list all of the
resources child elements; essentially an index page that just lists
all children much like the default lefthand menu.

It seems like this should be fairly trivial by including the sitetree
in a resources default document and creating an html list via xslt.

Ive been casually googling for some time now without finding a
complete example. I did however find
http://www.nabble.com/Display-child-information-in-parent-page-t357597.html,
but I have to admit as a cocoon/lenya newbie, what the poster is
talking about is not immediately obvious.

Does anyone know of a canned solution for this? Just thought Id ask
before trying to hack it out myself.

The unicms publications provide an element <unizh:children>, which
displays a list of a document's children. You can download the code
at http://www.wyona.org ("University of Zurich Lenya Publication").

-- Andreas



--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to