11-03-2011 07:52 AM
11-07-2011 09:19 AM
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="wqsmodule_renditionDefinitions" class="java.util.ArrayList">
<constructor-arg>
<list>
<bean class="org.alfresco.module.org_alfresco_module_wcmquickstart.rendition.BootstrapCompositeRenditionDefinition">
<property name="name" value="smallThumbnail"/>
<property name="renderingEngineName" value="compositeRenderingEngine"/>
<property name="definitions">
<list>
<bean class="org.alfresco.module.org_alfresco_module_wcmquickstart.rendition.BootstrapRenditionDefinition">
<property name="renderingEngineName" value="reformat"/>
<property name="parameters">
<map>
<entry key="mime-type" value="image/jpeg"/>
<entry key="runAs" value="System"/>
</map>
</property>
</bean>
<bean class="org.alfresco.module.org_alfresco_module_wcmquickstart.rendition.BootstrapRenditionDefinition">
<property name="renderingEngineName" value="imageRenderingEngine"/>
<property name="parameters">
<map>
<entry key="xsize" value="72"/>
<entry key="ysize" value="72"/>
<entry key="maintainAspectRatio" value="false"/>
<entry key="runAs" value="System"/>
</map>
</property>
</bean>
</list>
</property>
</bean>
</list>
</constructor-arg>
</bean>
</beans>
Finally, place your new context file on the classpath at "alfresco/extension/my-wqs-context.xml", restart Alfresco, and your new rendition definitions should be bootstrapped.
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.