08-30-2013 08:33 AM
Hi,
In my webengine site, I use a basic java/.ftl file instructions to generate a tree.
My Java method :
*public getViewTree(@PathParam("index") int index) {
String sectionpath = path[index];
ctx.setProperty...
...
return getView("tree").arg("doc", new DocumentRoot(ctx,sectionpath));
}*
My tree.ftl
...
<#list Document.children?sort_by("dc:title") as doc>
<#if doc.isFolder>
**<#if doc.currentLifleCycleState != "deleted">**
.. treatement
</#if>
</#if>
</#list>
I do not know why this expression : <#if doc.currentLifleCycleState != "deleted"> does not work?
Thanks for your help
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.