03-27-2008 10:04 PM
<#——————————————————————>
<#– Zeigt innerhalb eines Verzeichnis/Smartspaces –>
<#– die SWF, JPG- und HTML-Dateien an –>
<#——————————————————————>
<H4> Verzeichnis ${space.properties.title} </H4>
<#list space.children as child>
<#if child.isDocument && (child.mimetype = "image/png" || child.mimetype = "image/gif" || child.mimetype= "image/jpeg")>
<img src="/alfresco${child.url}">
</#if>
</#list>
<#list space.children as child>
<#if child.isDocument && (child.mimetype = "text/html")>
${child.content}
</#if>
</#list>
<#list space.children as child>
<#if child.isDocument && (child.mimetype = "application/x-shockwave-flash")>
<img src="/alfresco${child.url}">
</#if>
</#list>
Die Images und HTML-Inhalte werden korrekt dargestellt, aber bei Flash.swf-Dateien kommt nur der Image-Platzhalter. Wie kann ich das Flash.swf via Freemarker-Template im CustomView darstellen. Benötige ich das object-tag und/oder ein javascript zur Darstellung von Flash?03-27-2008 10:04 PM
<#list space.children as child>
<#if child.isDocument && (child.mimetype = "application/x-shockwave-flash")>
<object>
<embed src="/alfresco${child.url}" type="application/x-shockwave-flash" />
</object>
</#if>
</#list>
Gruß
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.