AnsweredAssumed Answered

Message bundles loaded from repository

Question asked by kamielvdz on Dec 14, 2011
Latest reply on Jan 2, 2012 by erikwinlof
Is it possible to load message bundles dropped in /Data Dictionary/Messages into Share just like in Explorer? E.g. by using the ResourceBundleBootstrapComponent?

<bean id="webscripts.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
      <property name="resourceBundles">
         <list>
            <value>webscripts.messages.webscripts</value>
            <value>alfresco.messages.common</value>
            <value>alfresco.messages.slingshot</value>
         </list>
      </property>
   </bean>

I need a common message bundle for Share and the repository to avoid redundancy. Maybe there is another way to achieve this, but I do not want to load from the shared classes folder as Share and the repository will be hosted on separate locations.

Any pointers are appreciated.

Outcomes