AnsweredAssumed Answered

Defining group of actions in a module

Question asked by bgl on Aug 22, 2007
Latest reply on Oct 1, 2007 by bgl

I would like to add new group of actions (specified in web-client-config-actions.xml) defined for the purpose of my own module.
I thought it would work like the web-client-config.xml, adding a web-client-config-actions-custom.xml would make the trick…but that is not the case.

After searching, I found in web-client-application-context.xml this:

   <bean id="webClientConfigSource" class="org.alfresco.config.source.UrlConfigSource">

Now I understand much better the tips&tricks about web-client-config-custom.xml in jar file. But I'm afraid I cannot declare my set of actions.

I'm trying to do the following:
  create a custom drop down menu (following the code of create space) to create some special space with special attributes that can be filled at creation time.

I have my own browse.jsp which is a copy/paste from alfresco war but I have added a menu. This menu expects a group of actions defined in my META-INF/web-client-config-actions-custom.xml but it is not loaded.

If I add in the web-client-application-context.xml the following:


where I saw the web-client-config-custom, it seems to be found.

Is this an issue or a design choice ? if the last option, how can I do ? If it is the first option, do I have to raise an issue ? (I've checked quickly jira searching for web-client-application-context.xml but did not find any…may be my criteria was incorrect…)

Thx for reading this loooong post and proposing something  :wink: