Writing a custom component generator

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing a custom component generator

resplin
Intermediate
0 0 1,044

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



NOT FINISHED
In this article, I'll walk through the steps involved in writing your own component generator.  A custom generator is useful when you want to significantly modify the UI behavior of the Alfresco web application.  In this case, I'd like to adjust the way that associations are managed.

The out-of-the-box tool presents associations as shown below:

TODO: Insert Image
Example.jpg

We're going to write a new associations component so that associations will render as shown below and will feature a popup-window for selecting from Alfresco.

TODO: Insert Image
Example.jpg

When all is said and done, the code to achieve all of this will be available within an Alfresco Forge project.  That way, you can simply download the resulting code and use it.  But this will also let you see how to build your own components, step by step.




Setting up a Project in Eclipse


TODO


Writing the Component Classes


TODO


Registering the Component Classes with JSF


TODO


Our Custom Object Model


TODO


Telling the Custom Object Model to use our new Component


TODO


Forge Project


TODO