Hy guys,

I would need to check in a jsp page if a document exists or not. I
would not want to do it with a previous DASL query; I would like to do
it in the jsp page.

I found this very interesting old thread in your mailing list [1] and
I would like to know if it is actually possible to have something
similar to the following snippet working:

<c:set var="testdoc"
value="${repository.fetchDocument['content/e-overheid/home1.xml']}"/>

<c:if test="${empty testdoc }">
NULL
</c:if>



[1] http://old.nabble.com/JSP-toolkit-check-if-document-exist-td16538945.html#

-- 
Enrico Cervato - 0031 (0)615293346
Open Source Software Engineer
Sourcesense - making sense of Open Source: http://www.sourcesense.com
********************************************
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