Fix #6384 - See if we can get checkbox to render on tests
[roojs1] / examples / bootstrap / RadioSet.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5 RadioSet = new Roo.XComponent({
6
7  _strings : {
8   'ce8ae9da5b7cd6c3df2929543a9af92d' :"Email",
9   'bafd7322c6e97d25b6299b5d6fe8920b' :"No",
10   '7fa3b767c460b54a2be4d49030b349c7' :"no",
11   'e3917ff2d3b3a88eab391651215d6445' :"Radio Field Lable Left",
12   '9dffbf69ffba8bc38bc4e01abf4b1675' :"Text",
13   '0d16301f634dadc4d7b280f7e375e3ad' :"Text for checkbox",
14   '8d80ce38760953b68529d7fc9d8d89b6' :"Radio Field Lable",
15   '015ae6f41d4b86ad13ac0fde840d2280' :"Text Input",
16   '93cba07454f06a4a960172bbd6e2a435' :"Yes",
17   'a6105c0a611b41b08f1209506350279e' :"yes",
18   'ad3d06d03d94223fa652babc913de686' :"Validate",
19   'b7dc22f0e17f4dfca2940eb0bd0cdc54' :"Radio Set Example"
20  },
21  _named_strings : {
22   'text_name_fieldLabel' : '015ae6f41d4b86ad13ac0fde840d2280' /* Text Input */ ,
23   'left_radio_fieldLabel' : 'e3917ff2d3b3a88eab391651215d6445' /* Radio Field Lable Left */ ,
24   'text_name_placeholder' : '9dffbf69ffba8bc38bc4e01abf4b1675' /* Text */ ,
25   'email_name_placeholder' : 'ce8ae9da5b7cd6c3df2929543a9af92d' /* Email */ ,
26   'top_radio_fieldLabel' : '8d80ce38760953b68529d7fc9d8d89b6' /* Radio Field Lable */ ,
27   'test1_boxLabel' : '0d16301f634dadc4d7b280f7e375e3ad' /* Text for checkbox */ 
28  },
29
30   part     :  ["bootstrap", "RadioSet" ],
31   order    : '001-RadioSet',
32   region   : 'center',
33   parent   : false,
34   name     : "unnamed module",
35   disabled : false, 
36   permname : '', 
37   _tree : function(_data)
38   {
39    var _this = this;
40    var MODULE = this;
41    return {
42    xtype : 'Body',
43    cls : 'bg-black',
44    style : 'min-height: 100%;',
45    xns : Roo.bootstrap,
46    '|xns' : 'Roo.bootstrap',
47    items  : [
48     {
49      xtype : 'Container',
50      xns : Roo.bootstrap,
51      '|xns' : 'Roo.bootstrap',
52      items  : [
53       {
54        xtype : 'Form',
55        errorMask : true,
56        listeners : {
57         render : function (_self)
58          {
59              _this.form = this;
60          }
61        },
62        xns : Roo.bootstrap,
63        '|xns' : 'Roo.bootstrap',
64        items  : [
65         {
66          xtype : 'Row',
67          xns : Roo.bootstrap,
68          '|xns' : 'Roo.bootstrap',
69          items  : [
70           {
71            xtype : 'Column',
72            xs : 12,
73            xns : Roo.bootstrap,
74            '|xns' : 'Roo.bootstrap',
75            items  : [
76             {
77              xtype : 'Header',
78              html : _this._strings['b7dc22f0e17f4dfca2940eb0bd0cdc54'] /* Radio Set Example */,
79              level : 1,
80              xns : Roo.bootstrap,
81              '|xns' : 'Roo.bootstrap'
82             }
83            ]
84           }
85          ]
86         },
87         {
88          xtype : 'Row',
89          xns : Roo.bootstrap,
90          '|xns' : 'Roo.bootstrap',
91          items  : [
92           {
93            xtype : 'Column',
94            xs : 12,
95            xns : Roo.bootstrap,
96            '|xns' : 'Roo.bootstrap',
97            items  : [
98             {
99              xtype : 'RadioSet',
100              allowBlank : false,
101              fieldLabel : _this._strings['8d80ce38760953b68529d7fc9d8d89b6'] /* Radio Field Lable */,
102              indicatorpos : 'right',
103              labelAlign : 'top',
104              name : 'top_radio',
105              xns : Roo.bootstrap,
106              '|xns' : 'Roo.bootstrap',
107              items  : [
108               {
109                xtype : 'Radio',
110                boxLabel : _this._strings['93cba07454f06a4a960172bbd6e2a435'] /* Yes */,
111                value : _this._strings['a6105c0a611b41b08f1209506350279e'] /* yes */,
112                xns : Roo.bootstrap,
113                '|xns' : 'Roo.bootstrap'
114               },
115               {
116                xtype : 'Radio',
117                boxLabel : _this._strings['bafd7322c6e97d25b6299b5d6fe8920b'] /* No */,
118                value : _this._strings['7fa3b767c460b54a2be4d49030b349c7'] /* no */,
119                xns : Roo.bootstrap,
120                '|xns' : 'Roo.bootstrap'
121               }
122              ]
123             }
124            ]
125           }
126          ]
127         },
128         {
129          xtype : 'Row',
130          xns : Roo.bootstrap,
131          '|xns' : 'Roo.bootstrap',
132          items  : [
133           {
134            xtype : 'Column',
135            style : 'margin-top: 15px;',
136            xs : 12,
137            xns : Roo.bootstrap,
138            '|xns' : 'Roo.bootstrap',
139            items  : [
140             {
141              xtype : 'RadioSet',
142              allowBlank : false,
143              fieldLabel : _this._strings['e3917ff2d3b3a88eab391651215d6445'] /* Radio Field Lable Left */,
144              indicatorpos : 'right',
145              labelAlign : 'left',
146              name : 'left_radio',
147              xns : Roo.bootstrap,
148              '|xns' : 'Roo.bootstrap',
149              items  : [
150               {
151                xtype : 'Radio',
152                boxLabel : _this._strings['93cba07454f06a4a960172bbd6e2a435'] /* Yes */,
153                value : _this._strings['a6105c0a611b41b08f1209506350279e'] /* yes */,
154                xns : Roo.bootstrap,
155                '|xns' : 'Roo.bootstrap'
156               },
157               {
158                xtype : 'Radio',
159                boxLabel : _this._strings['bafd7322c6e97d25b6299b5d6fe8920b'] /* No */,
160                value : _this._strings['7fa3b767c460b54a2be4d49030b349c7'] /* no */,
161                xns : Roo.bootstrap,
162                '|xns' : 'Roo.bootstrap'
163               }
164              ]
165             }
166            ]
167           }
168          ]
169         },
170         {
171          xtype : 'Row',
172          xns : Roo.bootstrap,
173          '|xns' : 'Roo.bootstrap',
174          items  : [
175           {
176            xtype : 'Column',
177            style : 'margin-top: 15px;',
178            xs : 12,
179            xns : Roo.bootstrap,
180            '|xns' : 'Roo.bootstrap',
181            items  : [
182             {
183              xtype : 'Input',
184              allowBlank : false,
185              fieldLabel : _this._strings['015ae6f41d4b86ad13ac0fde840d2280'] /* Text Input */,
186              name : 'text_name',
187              placeholder : _this._strings['9dffbf69ffba8bc38bc4e01abf4b1675'] /* Text */,
188              xns : Roo.bootstrap,
189              '|xns' : 'Roo.bootstrap'
190             }
191            ]
192           }
193          ]
194         },
195         {
196          xtype : 'Row',
197          xns : Roo.bootstrap,
198          '|xns' : 'Roo.bootstrap',
199          items  : [
200           {
201            xtype : 'Column',
202            xs : 12,
203            xns : Roo.bootstrap,
204            '|xns' : 'Roo.bootstrap',
205            items  : [
206             {
207              xtype : 'Input',
208              allowBlank : false,
209              name : 'email_name',
210              placeholder : _this._strings['ce8ae9da5b7cd6c3df2929543a9af92d'] /* Email */,
211              regexText : 'This field should be an e-mail address in the format \"user@domain.com\"',
212              vtype : 'email',
213              xns : Roo.bootstrap,
214              '|xns' : 'Roo.bootstrap'
215             }
216            ]
217           }
218          ]
219         },
220         {
221          xtype : 'Row',
222          xns : Roo.bootstrap,
223          '|xns' : 'Roo.bootstrap',
224          items  : [
225           {
226            xtype : 'Column',
227            xs : 12,
228            xns : Roo.bootstrap,
229            '|xns' : 'Roo.bootstrap',
230            items  : [
231             {
232              xtype : 'TextArea',
233              allowBlank : false,
234              name : 'text_area',
235              xns : Roo.bootstrap,
236              '|xns' : 'Roo.bootstrap'
237             }
238            ]
239           }
240          ]
241         },
242         {
243          xtype : 'Row',
244          xns : Roo.bootstrap,
245          '|xns' : 'Roo.bootstrap',
246          items  : [
247           {
248            xtype : 'Column',
249            xs : 12,
250            xns : Roo.bootstrap,
251            '|xns' : 'Roo.bootstrap',
252            items  : [
253             {
254              xtype : 'CheckBox',
255              boxLabel : _this._strings['0d16301f634dadc4d7b280f7e375e3ad'] /* Text for checkbox */,
256              name : 'test1',
257              xns : Roo.bootstrap,
258              '|xns' : 'Roo.bootstrap'
259             }
260            ]
261           }
262          ]
263         },
264         {
265          xtype : 'Row',
266          xns : Roo.bootstrap,
267          '|xns' : 'Roo.bootstrap',
268          items  : [
269           {
270            xtype : 'Column',
271            style : 'margin-top: 15px;',
272            xs : 12,
273            xns : Roo.bootstrap,
274            '|xns' : 'Roo.bootstrap',
275            items  : [
276             {
277              xtype : 'Button',
278              html : _this._strings['ad3d06d03d94223fa652babc913de686'] /* Validate */,
279              weight : 'primary',
280              listeners : {
281               click : function (_self, e)
282                {
283                    _this.form.isValid();
284                }
285              },
286              xns : Roo.bootstrap,
287              '|xns' : 'Roo.bootstrap'
288             }
289            ]
290           }
291          ]
292         }
293        ]
294       }
295      ]
296     }
297    ]
298   };  }
299 });