cancel
Showing results for 
Search instead for 
Did you mean: 

Load resource bundle from amp

calle
Champ in-the-making
Champ in-the-making
Hi
I want to externalise the messages in a custom dialog. This is my dialog configuration:
<dialog name="createFromTemplate"
            page="/jsp/extension/create-from-template.jsp"
            managed-bean="CreateFromTemplate"
            icon="/images/icons/create_from_template_large.gif"
            title-id="create_from_template_title"
            description-id="create_from_template_description" />
In webclient.properties I have defined

create_from_template_title=Create from template
create_from_template_description=Creates a document from the given template, according to the space context

The resource bundle is loaded because it shows messages for other components but messages for my dialog is not found. I can not find any information in the wiki on special configuration for dialogs.

Anyone knows why I can not get the messages into my dialog?
1 REPLY 1

calle
Champ in-the-making
Champ in-the-making
A little clarification:
I have packaged the webclient.properties file in my amp module and loaded it with the org.alfresco.i18n.ResourceBundleBootstrapComponent. If I instead place the webclient.properties file in alfresco/extensions the everything works fine. So, my question is really "How do you load a custom resource bundle from an amp?"

//Carl