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:
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?
The value for the resource bundle should be my.properties.myalfresco.messages since it is based on the classpath location where the file is located in, up to the file name without the file extension or any locale identifier suffixes. I do recommend renaming the file from myalfresco.messages.properties to a name without a dot in it, as the dot has a special meaning (path separator) in resource bundle IDs and there might be issues with looking up a file that contains a dot other than the extension separator.
ty Faust you are right ,i write the question from the phone and make some dirt, beside that , the core of the question is "can i use that value to invoke a properties file stored on the alfresco webapp from the share webapp ? " or exists some other way to accomplish that?