AnsweredAssumed Answered

Unable to find properties file

Question asked by darkling235 on Jul 18, 2007
Hi. I'm working on making a custom action for my alfresco. It's being made purely for proof of principal at the moment. All it is supposed to do is register the node print a brief message to a log file and then exit.

However when it fires it immediately complains that a required parameter has not been set in the resource file. I've been doing some checking and it seems that the action can't even find the resources.

The weird thing is it still doesn't seem to access them even when I have copied and pasted the data into another properties file which would be loaded, or into which I believe is the default.

This is my action-services-context.xml code, the relevant parts anyway

<bean id="Flush" class="org.csm.alfresco.action.executer.AlfrescoCacheImpl" parent="action-executer">
          <property name="nodeService">
             <ref bean="nodeService" />
          <property name="publicAction">
   <!– I18N –>
   <bean id="actionResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
       <property name="resourceBundles">

The properties file is very simple (

Flush.title=Flush Alfresco Cache
Flush.description=Flush Alfresco Cache
Flush.aspect-name.display-label=Flush Alfresco Cache
Flush.aspect-name=Flush Alfresco Cache

The action asks for a parameter called aspect-name via


but it always returns null.

I can use


to return


but I'm not sure if that means it's found the file or is just postulating what the file should look like. Help would be VERY welcome, thanks