Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Container
        Panel
          CompositeField
            Selection

Class CQ.form.Selection

Package:CQ.form
Class:Selection
Subclasses:OperatorSelection
Extends:CQ.form.CompositeField
Clientlib:cq.widgets
xtype:selection
The Selection lets the user choose between several options. The options can be part of the configuration or loaded from a JSON repsone. The Selection can either be rendered as dropdown (select), combobox (select plus free text entry), checkboxes or radio buttons.

Config Options

Config Options Defined By
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  disabled : Boolean
Render this component disabled (default is false).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
  ignoreData : Boolean
True to ignore data from records (defaults to false)
CompositeField
  invalidClass : String
The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
CompositeField
  name : String
The field's HTML name attribute (defaults to "").
CompositeField
  pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
  pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
  readOnly : Boolean
True to mark the field as readOnly in HTML (defaults to false)
CompositeField
  value : Mixed
A value to initialize this field with (defaults to undefined).
CompositeField
  x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
  y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent

Public Properties

Property Defined By
  Selection.EVENT_SELECTION_CHANGED : Object
<static> Name of the "selectionchanged" event which is fired when the user changes the value of a selection.
Selection
  buttons : Array
This Panel's Array of buttons as created from the buttons config property. Read only.
Panel
  bwrap : CQ.Ext.Element
The Panel's bwrap Element used to contain other Panel elements (tbar, body, bbar, footer). See bodyCfg. Read-only.
Panel
  collapsed : Boolean
True if this panel is collapsed. Read-only.
Panel
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  header : CQ.Ext.Element
The Panel's header Element. Read-only.

This Element is used to house the title and tools


Note: see the Note for el also.

Panel
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  items : MixedCollection
The collection of components in this container as a CQ.Ext.util.MixedCollection
Container
  refOwner : CQ.Ext.Container The
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By