12-05-2008 06:03 AM
<#function getBackupDirNameobject>
<#if object.parent?exists>
<#if object.parent.name=="Backup">
<#return object.name>
<#else>
<#return getBackupDirName(object.parent)>
</#if>
<#else>
<#return object.name>
</#if>
</#function>
My problem is that it returns a noderef and not the name (so I have no error or warning by console). When executing the following, I get an error:<#assign x = getClientName(object)>
${x.name}
Expected hash. x evaluated instead to freemarker.template.SimpleScalar on line ..
Where in the corresponding line I ask ${x.name}.It is right that I get an error, but how can I otherwise show the property name (if I didn't program the function wrong)?12-08-2008 05:25 AM
Tags
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.