AnsweredAssumed Answered

Call Scripts from Template

Question asked by emmy on Jul 5, 2006
Latest reply on Nov 9, 2006 by ajshaw
Hi,
I want call to function scripts created in Company Home/Data Dictionary/Scripts/remove-content.js from template in this way:


<table cellpadding="2" cellspacing="2" border="0" width="100%" style="font-size: x-small;">
   <#list companyhome.childrenByLuceneSearch[searchString] as child>
        <tr>
        <td><a href="/alfresco${child.url}">${child.properties.name}</a></td>
        <td><img src="/alfresco/images/icons/delete.gif" border="0" onClick="removeNode(${child.properties.name})"></td>


where removeNode is the function script created.

Is it possible? How?

Regards,
Emanuela

Outcomes