Writing a custom component generator

Document created by resplin Employee on Jun 6, 2015
Version 1Show Document
  • View in full screen mode

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

Attachments

    Outcomes