06-23-2008 12:04 PM
06-23-2008 01:03 PM
06-24-2008 09:34 AM
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<r:template template="workspace://SpacesStore/d06669dc-41ed-11dd-aa62-251f03501ab9" />
<#– Liste des documents de type "monNamespace:monContentType" –>
<#– Shows the Icon and link to the content for the doc, also the size in KB and lock status –>
<#assign rowcount=0>
<table>
<tr style='background-color: #C6D8EB'>
<td></td>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Modified Date</b></td>
<td><b>Locked By</b></td>
</tr>
<#list userhome.children as child>
<#if child.isDocument>
<#if rowcount % 2 = 0><tr><#else><tr style='background-color: #DEE5EC'></#if>
<td><a href="/alfresco${child.url}" target="new"><img src="/alfresco${child.icon16}" border=0></a></td>
<td><a href="/alfresco${child.url}" target="new">${child.properties.name}</a></td>
<td>${(child.size / 1000)?string("0.##")} KB</td>
<td>${child.properties.modified?datetime}</td>
<td> <#if child.isLocked>${child.properties.lockOwner}</#if></td>
</tr>
<#assign rowcount=rowcount+1>
</#if>
</#list>
</table>
pour l'instant c'est juste une copie du fichier my_docs.ftl qui existait déjà. Ca marche. Enfin plutôt il n'y a pas d'erreurs mais ça n'affiche rien. Reste à adapter pour obtenir ce que je veux.06-25-2008 08:50 AM
06-25-2008 08:58 AM
06-25-2008 11:04 AM
pour chercher les noeuds d'un content type particulier,c'est possible via Lucene avec le mot clé TYPE : http://wiki.alfresco.com/wiki/Search#Finding_Nodes_By_Type
06-25-2008 12:39 PM
06-26-2008 03:29 AM
il s'agit du mot clé "reverse" tout simplement, comme indiqué dans la doc freemarker : http://freemarker.sourceforge.net/docs/ref_builtins_sequence.html
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.