Show TOC

Object documentationComponent Locate this document in the navigation structure

 

This is the base class for all components. We describe component because the "jsObjectNeeded" method is necessary for the client side eventing.

  • id

    Identification name of the component.

  • jsObjectNeeded

    A boolean value that defines if a JavaScript object is defined for the component (=true) or not (=false). A JavaScript object is necessary, that you can access the component in your JavaScript program. By default the JavaScript object generation is disabled, to reduce the generated HTML code.

  • parent

    Defines the parent container for the component.

Attributes

M

Values

Usage

id

String (cs)

Taglib

No tag available

Classlib

setId("aComponent")

jsObjectNeeded

FALSE

(d) TRUE

Taglib

jsObjectNeeded="TRUE"

Classlib

setJsObjectNeeded(true)

parent

Component

Taglib

No tag available

Classlib

setParent(Container parent)