ContentCreator Gadget
The ContentCreator gadget specifies a user interface and functionality directly related to this component for inclusion in ContentCreator form views. Due to the nature of ContentCreator's implementation, the gadget code is split between server-side and client-side components, which are coupled by the gadget's Web Gadget Factory class (see below).
The ContentCreator gadget consists of two mandatory interface implementations for server-side support as well as mandatory JavaScript, HTML, and CSS components which provide client-side functionality:
- Web Gadget Factory
This implementation couples the web gadget component with the input component's GOM form definition class, the JavaScript controller (see JavaScript Controller Constructor below), CSS definitions and any other required JavaScript resources. - Web Gadget (Server)
Provides the input component's server-side functionality and optionally provides access to gadget aspects (see below) which advertise to ContentCreator that specific types of functionality have been implemented and are available for use with the gadget. - JavaScript Controller Constructor (Client)
specifies an object which provides functionality for data handling and user interaction within ContentCreator's client interface. - HTML, CSS, and JavaScript (Client) HTML mandatory
This page contains information about providing the structure, styling and additional interactive features for the input component's representation in ContentCreator forms.
Optionally, ContentCreator gadgets may provide additional functionality, which require server-side implementations:
- Web Gadget Aspects (Server)
Aspects allow component developers to advertise support for and provide component-specific implementations of well-defined functionality groups.