examples/bootstrap/RadioSet.bjs
[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   '7fa3b767c460b54a2be4d49030b349c7' :"no",
9   'e3917ff2d3b3a88eab391651215d6445' :"Radio Field Lable Left",
10   '8d80ce38760953b68529d7fc9d8d89b6' :"Radio Field Lable",
11   'a6105c0a611b41b08f1209506350279e' :"yes",
12   'b7dc22f0e17f4dfca2940eb0bd0cdc54' :"Radio Set Example"
13  },
14
15   part     :  ["bootstrap", "RadioSet" ],
16   order    : '001-RadioSet',
17   region   : 'center',
18   parent   : false,
19   name     : "unnamed module",
20   disabled : false, 
21   permname : '', 
22   _tree : function(_data)
23   {
24    var _this = this;
25    var MODULE = this;
26    return {
27    xtype : 'Body',
28    cls : 'bg-black',
29    style : 'min-height: 100%;',
30    xns : Roo.bootstrap,
31    '|xns' : 'Roo.bootstrap',
32    items  : [
33     {
34      xtype : 'Container',
35      xns : Roo.bootstrap,
36      '|xns' : 'Roo.bootstrap',
37      items  : [
38       {
39        xtype : 'Form',
40        listeners : {
41         render : function (_self)
42          {
43              _this.form = this;
44          }
45        },
46        xns : Roo.bootstrap,
47        '|xns' : 'Roo.bootstrap',
48        items  : [
49         {
50          xtype : 'Row',
51          xns : Roo.bootstrap,
52          '|xns' : 'Roo.bootstrap',
53          items  : [
54           {
55            xtype : 'Column',
56            xs : 12,
57            xns : Roo.bootstrap,
58            '|xns' : 'Roo.bootstrap',
59            items  : [
60             {
61              xtype : 'Header',
62              html : _this._strings['b7dc22f0e17f4dfca2940eb0bd0cdc54'] /* Radio Set Example */,
63              level : 1,
64              xns : Roo.bootstrap,
65              '|xns' : 'Roo.bootstrap'
66             }
67            ]
68           }
69          ]
70         },
71         {
72          xtype : 'Row',
73          xns : Roo.bootstrap,
74          '|xns' : 'Roo.bootstrap',
75          items  : [
76           {
77            xtype : 'Column',
78            xs : 12,
79            xns : Roo.bootstrap,
80            '|xns' : 'Roo.bootstrap',
81            items  : [
82             {
83              xtype : 'RadioSet',
84              allowBlank : false,
85              fieldLabel : _this._strings['8d80ce38760953b68529d7fc9d8d89b6'] /* Radio Field Lable */,
86              indicatorpos : 'right',
87              name : 'radio_name',
88              xns : Roo.bootstrap,
89              '|xns' : 'Roo.bootstrap',
90              items  : [
91               {
92                xtype : 'Radio',
93                boxLabel : 'Yes',
94                value : _this._strings['a6105c0a611b41b08f1209506350279e'] /* yes */,
95                xns : Roo.bootstrap,
96                '|xns' : 'Roo.bootstrap'
97               },
98               {
99                xtype : 'Radio',
100                boxLabel : 'No',
101                value : _this._strings['7fa3b767c460b54a2be4d49030b349c7'] /* no */,
102                xns : Roo.bootstrap,
103                '|xns' : 'Roo.bootstrap'
104               }
105              ]
106             }
107            ]
108           }
109          ]
110         },
111         {
112          xtype : 'Row',
113          xns : Roo.bootstrap,
114          '|xns' : 'Roo.bootstrap',
115          items  : [
116           {
117            xtype : 'Column',
118            style : 'margin-top: 15px;',
119            xs : 12,
120            xns : Roo.bootstrap,
121            '|xns' : 'Roo.bootstrap',
122            items  : [
123             {
124              xtype : 'Input',
125              name : 'text_name',
126              xns : Roo.bootstrap,
127              '|xns' : 'Roo.bootstrap'
128             }
129            ]
130           }
131          ]
132         },
133         {
134          xtype : 'Row',
135          xns : Roo.bootstrap,
136          '|xns' : 'Roo.bootstrap',
137          items  : [
138           {
139            xtype : 'Column',
140            xs : 12,
141            xns : Roo.bootstrap,
142            '|xns' : 'Roo.bootstrap',
143            items  : [
144             {
145              xtype : 'RadioSet',
146              allowBlank : false,
147              fieldLabel : _this._strings['e3917ff2d3b3a88eab391651215d6445'] /* Radio Field Lable Left */,
148              indicatorpos : 'right',
149              name : 'left_radio',
150              xns : Roo.bootstrap,
151              '|xns' : 'Roo.bootstrap',
152              items  : [
153               {
154                xtype : 'Radio',
155                boxLabel : 'Yes',
156                value : _this._strings['a6105c0a611b41b08f1209506350279e'] /* yes */,
157                xns : Roo.bootstrap,
158                '|xns' : 'Roo.bootstrap'
159               },
160               {
161                xtype : 'Radio',
162                boxLabel : 'No',
163                value : _this._strings['7fa3b767c460b54a2be4d49030b349c7'] /* no */,
164                xns : Roo.bootstrap,
165                '|xns' : 'Roo.bootstrap'
166               }
167              ]
168             }
169            ]
170           }
171          ]
172         }
173        ]
174       }
175      ]
176     }
177    ]
178   };  }
179 });