As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<#ftl strip_whitespace=true /> <#setting locale="it_IT"/> <#setting datetime_format="short"> <!– Search a given space by its unique node ID –> <!– This is a workaround since the childByNamePath method does not seem to work… –> <#assign folderID = companyhome.childrenByLuceneSearch["ID:workspace\\:\\/\\/SpacesStore\\/2f93b4a6-f609-11dc-a589-999071556af1"] /> <#list folderID as child> <#assign folderContent = child.children /> </#list> <!– Display all documents in the space –> <script>var AlfNodeInfoMgr = new Alfresco.PanelManager("NodeInfoBean.sendNodeInfo", "noderef");</script> <table class="recordSet" width=100%> <thead> <tr> <th style="padding:2px;text-align:left" class="recordSetHeader" colspan=2><b>Documento</b></th> <th style="padding:2px;text-align:left" class="recordSetHeader"><b>Data aggiorn.</b></th> </tr> </thead> <tbody> <#list folderContent as child> <#assign rowstyle="recordSetRow" /> <#if (child_index % 2 = 1)> <#assign rowstyle="recordSetRowAlt" /> <#else> <#assign rowstyle="recordSetRow" /> </#if> <#if child.isDocument> <tr valign=top class="${rowstyle}"> <td style="padding:2px;text-align:right;vertical-align:top;padding-right:10px;"> <a href="/alfresco${child.url}" target="_blank"> <img src="/alfresco${child.icon32}" border=0></a> </td> <td style="padding:2px;text-align:left;vertical-align:top;padding-right:10px;"> <a href="/alfresco${child.url}" target="_blank">${child.properties.name}</a> <span onclick="AlfNodeInfoMgr.toggle('${child.nodeRef}',this);"> <img id="browse:col1-img" src="/alfresco/images/icons/popup.gif" height="16" width="16" class="popupImage" /> </span> </td> <td style="padding:2px;text-align:left"><nobr>${child.properties["cm:modified"]?datetime}</nobr> </td> </tr> </#if> </#list> </tbody> </table>
While I haven't done such a thing, I wanted to give this idea another vote of support. I'd like to do something similar and if anyone has any thoughts I'd be happy to hear them.This isn't a top priority for me, but I will be looking into it myself in the future.