cancel
Showing results for 
Search instead for 
Did you mean: 

Where to put faces-config-repo.xml on our own extension ?

coffman
Champ in-the-making
Champ in-the-making
Hi, We are making an extension to Alfreso that changes the UI behaviour, more exactly the SimpleSearch interface, so we need to overwrite the definition of SimpleSearch on faces-config-repo.xml to something like that:
<component>
      <component-type>org.alfresco.faces.SimpleSearch</component-type>      <component-class>my.own.component.UISimpleSearch</component-class>
</component>

To make public our extension i don't like that the user must overwrite her faces-config-repo.xml, are there any location where we can put the customized faces issues on my own jar ? or on another location without overwriting the server original file ??

Thanks a lot
1 REPLY 1

dhalupa
Champ on-the-rise
Champ on-the-rise
You can put this configuration into faces-config.xml file which will go into META-INF directory of your jar file

Kind regards,

Denis