Thursday 22 December 2011

Widgets & xtypes

Class: CQ.Ext.form.TextField
Class: TextField
xtype: textfield


Config Options:
  1. allowBlank: Boolean
     Specify false to validate that the value's length is  >0 (defaults to true)


  2. defaultValue: String
     The default value is set on processRecord when the record doesn't contain an according value.

  3. fieldLabe: String
     The label text to display next to this Component (defaults to")


  4. fieldDescription: String
     THe text to display below this component.


---------------------------------

Class CQ.Ext.form.TextArea
Package: CQ.Ext.form
Class:       TextArea
Extends:  TextField
xtype:      textarea
Multiline text field. Can be used as a direct replacement for traditional textarea fields, plus adds support for auto-sizing.
--------------------------------------
Class CQ.form.Selection

Package:CQ.form
Class:Selection
Extends:CompositeField
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.





No comments:

Post a Comment