...
The topic Quick Start explains how to create a very basic element component using the element archetype. The archetype generates the following files (in the case of the HelloWorld example):
Resource | Description |
---|---|
Activator.java | Bundle activator |
CustomElement.java | Interface representing the custom element |
CustomElementController.java | Controller of the element component |
CustomElementFBO.java | Form backing object of the element component |
CustomElementImpl.java | Component and element implementation (business object) |
editCustomElement.jspf | JSP that renders the element in the Edit environment |
messages_en_US.properties | US English language file |
messages_nl_NL.properties | Dutch language file |
showCustomElement.xml | Descriptor of the JSP rendering the element on the Website environment |
showCustomElement.jspf | JSP rendering the element on the Website environment |
smallCustomElementIcon.gif | Small icon associated with the element |
largeCustomElementIcon.gif | Small icon associated with the element |
This part explains how to enhance this component with an additional field called "Author". To add this field to the Hello World element component, the following steps must be performed:
...
In Quick Start it is explained how to create a very basic panel component using the panel archetype. This panel consists of only one tab, the "HelloWorld" tab. The archetype generates the following files in case of the HelloWorld example:
Resource | Description |
---|---|
Activator.java | The bundle activator |
CustomPanelController.java | The controller of the whole panel |
CustomPanel.java | The form backing object of the whole panel |
CustomTabController.java | The controller of the HelloWorld tab contained by the panel |
CustomTabFBO.java | The form backing object of the HelloWorld tab contained by the panel |
customTab.jspf | The JSP that renders the HelloWorld tab |
messages_en_US.properties | The US English language file |
messages_nl_NL.properties | The Dutch language file |
This part explains how to enhance this component with an additional field named "Author". To add this field to the HelloWorld panel component, perform the following steps:
...
In Quick Start it is explained how to create a very basic media item component using the media item archetype. The archetype generates the following files in case of the HelloWorld example:
Resource | Description |
---|---|
Activator.java | Bundle activator |
CustomMediaItemController.java | Controller of the metadata part of the custom media item |
CustomMediaItemVersion.java | Interface representing the custom media item version |
| Form backing object for the custom metadata part of the custom media item version |
| Implementation of the custom media item version |
| Descriptor of the JSP that renders the custom metadata part of the custom media item |
| JSP that renders the custom metadata part of the custom media item |
messages_en_US.properties | US English language file |
messages_nl_NL.properties | Dutch language file |
| Icon associated with the media item. Used in the menu and Media Repository search results. |
This part explains how to enhance this component with an additional metadata field named "Author". To add this field to the custom metadata part of the custom Media item component, perform the following steps:
...