05-20-2010 10:46 PM
05-24-2010 09:25 PM
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:si="http://www.alfresco.org/alfresco/simple"
targetNamespace="http://www.alfresco.org/alfresco/simple"
elementFormDefault="qualified">
<xs:element name="simple">
<xs:complexType>
<xs:sequence>
<xs:element name="string" type="xs:normalizedString"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<#ftl ns_prefixes={"D":"http://www.alfresco.org/alfresco/simple",
"alf":"http://www.alfresco.org"}>
<html>
<body>
<#– from example cookbook –>
<b>Company Home Space:</b> ${companyhome.properties.name}
<#– Table of the Spaces in my Home Folder –>
<#– Shows the large 32x32 pixel icon, and generates an external access servlet URL to the space –>
<table>
<b>One</b>
<#list companyhome.children as child>
<b>Two</b>
<#if child.isContainer>
<tr>
<b>Three</b>
<td><img src="${url.context}${child.icon32}"></td>
<#assign ref=child.nodeRef>
<#assign workspace=ref[0..ref?index_of("://")-1]>
<#assign storenode=ref[ref?index_of("://")+3..]>
<td><a href="${url.context}/navigate/showSpaceDetails/${workspace}/${storenode}"><b>${child.properties.name}</b></a> (${child.children?size})</td>
</tr>
</#if>
</#list>
</table>
</body>
</html>
05-27-2010 04:42 AM
<table>
<#list space.children as child>
<#if child.isDocument>
<tr><td>${child.properties.name}</td></tr>
<#if child.mimetype = "text/plain">
<tr><td style='padding-left:16px'>${child.content}</td></tr>
<#elseif child.mimetype = "image/jpeg">
<tr><td style='padding-left:16px'><img width=100 height=65 src="/alfresco${child.url}"><td></tr>
</#if>
</#if>
</#list>
</table>
06-01-2010 03:31 AM
09-30-2010 09:03 AM
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.