AnsweredAssumed Answered

Extending Advanced Search

Question asked by coffman on Nov 30, 2007
Hi, i am developing an advancedsearch enhancemente, it works ok when i install it as a zip file, the module has the following files:
MyUISearchCustomProperties.class (custom class that overwrite org.alfresco.web.ui.repo.component.UISearchCustomProperties)


<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
   <component>      <component-type>org.alfresco.faces.AdvancedSearch</component-type>      <component-class>com.queres.MyUISearchCustomProperties</component-class>
Now i would like to package the project as an AMP to distribute the extension, and here comes the problem …
Where must i put faces-config.xml ?
Must i use faces-config-custom.xml ? I try a lot of variants and none seems to work, my amp structure is like that:
|– lib
    |– qadvancedsearch.jar -> META-INF/faces-config.xml (first try)
|– web
     |– jsp
         |– extension
             |– dialog
                 |– advanced-search.jsp
        |– faces-config-custom.xml (second try)

none of the locations i try solves my problem.
The component (my class) is never loaded, the jsp is working.