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

Class CQ.tagging.TagInputField

Package:CQ.tagging
Class:TagInputField
Extends:CQ.form.CompositeField
Clientlib:cq.tagging
xtype:tags
A form widget for displaying and entering CQ Tags. It has a popup menu for selecting from existing tags, includes auto-completion, allows to create tags on the fly, supports tag namespaces, tag title localization and bulk-editing.

Please note that this form widget needs to handle certain steps right before the form submit. See prepareSubmit for details.

Config Options

Config Options Defined By
  allowBlank : Boolean
False to validate that the value length > 0 (defaults to true)
CompositeField
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  blankText : String
Error text to display if the allow blank validation fails (defaults to "This field is required")
CompositeField
  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
  popupHeight : Number
The initial height of the popup menu for selecting tags from the existing tag namespaces. Defaults to 300.
TagInputField
  popupWidth : Number
The initial width of the popup menu for selecting tags from the existing tag namespaces. Defaults to 500.
TagInputField
  readOnly : Boolean
True to mark the field as readOnly in HTML (defaults to false)
CompositeField
  tagsBasePath : String
The base path for the tag storage on the server (defaults to /etc/tags). Should not contain a trailing "/".
TagInputField
  value : Array
A value to initialize this field with (defaults to undefined). Must be an array of strings, containing tag IDs.
TagInputField
  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
  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