Hi, i have created some surf extension in my "share" project, for my reasons the properties messages for these surf extensions are saved in a properties file messages (myalfresco.messages.properties) under a jar (dependency of a AMP module) file on the "alfresco" web app, the full path to the properties file is like this:
/tomcat/webapps/alfresco/WEB-INF/lib/my-common.jar/uzip://my/properties/myalfresco.messages.properties
There is a way for the share webapp to load/read on the surf extensions doclib context file (e.g. /webapps/share/WEB-INF/classes/alfresco/web-extension/myshare-doclib-contenxt.xml) with the "ResourceBundleBootstrapComponent" these properties with a bean like this?
<bean id="myresources"
class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<!-- This file is not on share but on alfresco =.= -->
<value>my.properties.myalfresco.messages</value>
</list>
</property>
</bean>
Greetings.