05-16-2011 09:44 AM
<script type="text/javascript" src="${url.context}/scripts/customScript.js"></script>
<#list companyhome.children as c>
<#list c.children as chil>
<script>
<#if chil.properties['myCustomModel:dateDeFin']?exists> myScriptVar.dateDeFin="${chil.properties['myCustomModel:dateDeFin']?date}" <#else> myScriptVar.dateDeFin="" </#if>
myScriptVar.display();
</script>
</#list>
</#list>
var myScriptVar= {
dateDeFin: null,
display: function() {
alert(myScriptVar.dateDeFin);
}
}
05-17-2011 03:20 AM
05-17-2011 04:08 AM
05-17-2011 06:29 AM
myScriptVar.dateDeFin="${chil.properties['myCustomModel:dateDeFin']?string("d/M/yyyy")}"
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.