Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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):

 

ResourceDescription
Activator.java

Bundle activator

CustomElement.javaInterface representing the custom element
CustomElementController.java

Controller of the element component

CustomElementFBO.java

Form backing object of the element component

CustomElementImpl.javaComponent and element implementation (business object)
editCustomElement.jspfJSP that renders the element in the Edit environment
messages_en_US.propertiesUS English language file
messages_nl_NL.propertiesDutch language file
showCustomElement.xmlDescriptor of the JSP rendering the element on the Website environment
showCustomElement.jspfJSP rendering the element on the Website environment
smallCustomElementIcon.gifSmall icon associated with the element
largeCustomElementIcon.gifSmall 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:

 

ResourceDescription
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:

 

ResourceDescription
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

CustomMediaItemVersionFBO.java

Form backing object for the custom metadata part of the custom media item version

CustomMediaItemVersionImpl.java

Implementation of the custom media item version

editMetadata.xml

Descriptor of the JSP that renders the custom metadata part of the custom media item

editMetadata.jspf

JSP that renders the custom metadata part of the custom media item

messages_en_US.propertiesUS English language file
messages_nl_NL.propertiesDutch language file

custommediaitem.gif

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:

...