cancel
Showing results for 
Search instead for 
Did you mean: 

Building custom JSF UI Components

astocks
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to find some info on building custom JSF UI components. (In this case I require a slightly different simpleSearch component)

I have to change the repo.tld and faces-custom-repo.xml files, as well as the relevant classes. Is there any neat way of deploying this, like there is for navigation rules and managed beans? I am trying to make this as upgrade proof as possible and so would prefer not to have to edit the files directly.

Thanks for the help!
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
The best way is to use new files where you can i.e. create a new TLD file for your component and use a faces-config-custom.xml file (you can override our empty implementation) or better still place faces-config.xml file in the META-INF folder of your won JAR file.

Have a look at this wiki page for some hints: http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions

vesuinfo
Champ in-the-making
Champ in-the-making
Hi Gavinc,

Could you please help me in creating Custom UI components in Alfresco (or) if you can redirect me where i can find more information on creating custom UI components that would be more helpfull for me, I want to create a new JSF component in Alfresco.

Please help me, Thanks.

Thanks,
Saravanan

steve
Champ in-the-making
Champ in-the-making
Go on an Alfresco Developer training course or buy a book - they would be the quickest ways.