cancel
Showing results for 
Search instead for 
Did you mean: 

Howto show content of resource-bundles in the runtime

buurd
Champ in-the-making
Champ in-the-making
Hi!

Background:
I am trying to rewrite a Workflow from config-file-hacks to the runtime deployment to simplify development and minimize the need to stop the server. It is working out quite nice but it seems like the the workflows resourcebundle doesn't get loaded correctly. Since the content of the file in "Data Dictionary/Messages" is the same as it was in the extensionsfolder I don't think that is the problem. When I deploy the resource I put a file called "Demolition-messages.properties" in the /Company Home/Data Dictionary/Messages-space.

Then I go to http://localhost:8080/alfresco/faces/jsp/admin/repoadmin-console.jsp and issue the command: "reload messages Demolition-messages". When I look at my workflow it has not picked up the properties that is supposed to use as labels (and used when I had the workflow defined in the extensionsfolder). Not even after a restart of the server.

So, what am I doing wrong?

Thanks in advance
Roland
1 REPLY 1

buurd
Champ in-the-making
Champ in-the-making
It seem like the order of updates is important. If I upload a web-custom-config and after that upload the properties file the web-custom-configt doesn't seem to be aware about  web-custom-config no matter how much I reload the properties in the repoadmin-console. Not until I reload the web-custom-config the new properties are detected. But the new properties are not detected by workflows that are already running but only for new workflows.

Best regards
Roland