<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);
}
}
myScriptVar.dateDeFin="${chil.properties['myCustomModel:dateDeFin']?string("d/M/yyyy")}"
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.