Hi Enrico,

It should be possible to retrieve a document (and also content en metadata)
like this:
<c:set var="document"
value="${repository.fetchDocument['/content/path/to/document/document.xml']}"
/>

When the document is not available, an error will be thrown. It's possible
to catch the
fetch statement in a <c:catch> for example. Then it should be possible to
check for
an empty document.

Regards Dirkjan
********************************************
Hippocms-dev: Hippo CMS 6 development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to