02-26-2010 08:38 PM
03-02-2010 04:18 PM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Override WebScript Messages - add slingshot application messages –>
<bean id="webscripts.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.web-extension.messages.mymessages</value>
</list>
</property>
</bean>
</beans>
# Custom My Messages
label.company=Organization
label.companyinfo=Organization Details
Caused by: java.lang.ClassNotFoundException: org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent
label.company=Organization
label.companyinfo=Organization Details
03-10-2010 03:56 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Override WebScript Messages - add slingshot application messages –>
<bean id="webscripts.resources" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.messages.webscripts</value>
<value>alfresco.messages.slingshot</value>
<value>alfresco.web-extension.messages.knowledgebase</value>
</list>
</property>
</bean>
</beans>
03-10-2010 02:13 PM
05-30-2010 12:23 AM
07-29-2010 01:47 PM
We did try this before, but it did not help.
Anyhow, we will try it again!!
Thanks for your response!
08-16-2010 01:27 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Override WebScript Messages - add slingshot application messages –>
<bean id="webscripts.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.web-extension.messages.common</value>
<value>alfresco.web-extension.messages.slingshot</value>
</list>
</property>
</bean>
</beans>
05-09-2011 05:57 PM
Just for further information…
For Alfresco Share messages override, put this code in shared\classes\alfresco\web-extension\custom-slingshot-application-context.xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Override WebScript Messages - add slingshot application messages –>
<bean id="webscripts.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.web-extension.messages.common</value>
<value>alfresco.web-extension.messages.slingshot</value>
</list>
</property>
</bean>
</beans>
And be sure that common.properties and slingshot.properties files are in shared\classes\alfresco\web-extension\messages
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.