<#——————————————————————>
<#– 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?<#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ß
Archive content from product discussions in German.
This group is now closed and content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.