07-28-2010 03:23 PM
<bean id="webframework.webscripts.templateprocessor.freemarker" class="org.springframework.extensions.webscripts.processor.FTLTemplateProcessor">
<property name="searchPath" ref="webframework.webscripts.searchpath" />
<property name="defaultEncoding"><value>UTF-8</value></property>
<property name="updateDelay"><value>1</value></property>
<property name="templateProcessorRegistry" ref="webframework.webscripts.registry.templateprocessor" />
</bean>
<bean id="webframework.templates.templateprocessor.freemarker" class="org.springframework.extensions.webscripts.processor.FTLTemplateProcessor">
<property name="searchPath" ref="webframework.templates.searchpath" />
<property name="defaultEncoding"><value>UTF-8</value></property>
<property name="updateDelay"><value>1</value></property>
<property name="templateProcessorRegistry" ref="webframework.templates.registry.templateprocessor" />
</bean>
07-28-2010 04:16 PM
<alfresco-config>
<config evaluator="string-compare" condition="WebFramework">
<web-framework>
<!– Autowire Runtime Settings –>
<autowire>
<!– Pick the mode: development, preview, production –>
<mode>development</mode>
</autowire>
</web-framework>
</config>
</alfresco-config>
07-28-2010 04:58 PM
11-11-2010 12:55 PM
11-11-2010 03:23 PM
This development mode change to share-config-custom.xml doesn't seem to help me.The fact that it's not changing even after a restart means you're not changing what you think you are(!). Maybe post some code and we'll have a better time understanding what you're trying to achieve.
In Alfresco 3.4b, I seem to be having a problem getting little test changes to the templates (such as removing the toolbar region in documentlibrary.ftl) in <share webapp>/WEB-INF/classes/alfresco/templates/org/alfresco/templates to have any affect. The changes don't seem to take affect for me even after I've restarted tomcat.
I'm guessing that I just don't understand some basic thing and I'm doing it wrong. Anyone, If I've successfully pointed out my ignorance, let me know (nicely) and I'll be very grateful.
Thanks
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.