AnsweredAssumed Answered

Override an element-reader

Question asked by mikemars on May 26, 2011
Latest reply on Jun 10, 2011 by mikemars

Is it possible to override an element-reader configuration? I can't seem to get it to work.

In particular I would like to override the advanced-search reader which is found in web-client-config.xml.

I have tried adding the following to web-client-config-custom.xml:

         <element-reader element-name="advanced-search" class="com.someco.web.config.CustomAdvancedSearchElementReader" />
I have also commented out the following line in web-client-config.xml to check if it was just an override issue:

<element-reader element-name="advanced-search" class="org.alfresco.web.config.AdvancedSearchElementReader" />
Even with this line commented out it still won't pick up the new advanced-search config.

I am using Alfresco version 3.4d

Any help appreciated.