Last change
on this file since 619 was
619,
checked in by ramonb, 15 years ago
|
lib/:
- added new AJAX dependancies: ExtJS, pChart, Lightbox2
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * Ext JS Library 2.2.1 |
---|
3 | * Copyright(c) 2006-2009, Ext JS, LLC. |
---|
4 | * licensing@extjs.com |
---|
5 | * |
---|
6 | * http://extjs.com/license |
---|
7 | */ |
---|
8 | |
---|
9 | /** |
---|
10 | * @class Ext.form.RadioGroup |
---|
11 | * @extends Ext.form.CheckboxGroup |
---|
12 | * A grouping container for {@link Ext.form.Radio} controls. |
---|
13 | * @constructor |
---|
14 | * Creates a new RadioGroup |
---|
15 | * @param {Object} config Configuration options |
---|
16 | */ |
---|
17 | Ext.form.RadioGroup = Ext.extend(Ext.form.CheckboxGroup, { |
---|
18 | /** |
---|
19 | * @cfg {Boolean} allowBlank True to allow every item in the group to be blank (defaults to false). If allowBlank = |
---|
20 | * false and no items are selected at validation time, {@link @blankText} will be used as the error text. |
---|
21 | */ |
---|
22 | allowBlank : true, |
---|
23 | /** |
---|
24 | * @cfg {String} blankText Error text to display if the {@link #allowBlank} validation fails (defaults to "You must |
---|
25 | * select one item in this group") |
---|
26 | */ |
---|
27 | blankText : "You must select one item in this group", |
---|
28 | |
---|
29 | // private |
---|
30 | defaultType : 'radio', |
---|
31 | |
---|
32 | // private |
---|
33 | groupCls: 'x-form-radio-group' |
---|
34 | }); |
---|
35 | |
---|
36 | Ext.reg('radiogroup', Ext.form.RadioGroup); |
---|
Note: See
TracBrowser
for help on using the repository browser.