[Zope] Python method for getting contents of a sub-folder
Florent Guillaume
fg@nuxeo.com
22 Aug 2001 09:08:44 GMT
Then you may want to use a mapping and take a parameter, and do it
slightly differently. The following is untested:
#parameter: id
try:
obj = container.First_Folder[id]
url = obj.absolute_url()
title = obj.title
return (url, title)
except KeyError:
return None
<dtml-with expr="get_staff_info('first_person')">
<A HREF="<dtml-var sequence-key url_quoted>"><dtml-var sequence-item></A>
</dtml-with>
Florent Guillaume
Nuxeo