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              labelAlign : 'top',
88              name : 'top_radio',
89              xns : Roo.bootstrap,
90              '|xns' : 'Roo.bootstrap',
91              items  : [
92               {
93                xtype : 'Radio',
94                boxLabel : 'Yes',
95                value : _this._strings['a6105c0a611b41b08f1209506350279e'] /* yes */,
96                xns : Roo.bootstrap,
97                '|xns' : 'Roo.bootstrap'
98               },
99               {
100                xtype : 'Radio',
101                boxLabel : 'No',
102                value : _this._strings['7fa3b767c460b54a2be4d49030b349c7'] /* no */,
103                xns : Roo.bootstrap,
104                '|xns' : 'Roo.bootstrap'
105               }
106              ]
107             }
108            ]
109           }
110          ]
111         },
112         {
113          xtype : 'Row',
114          xns : Roo.bootstrap,
115          '|xns' : 'Roo.bootstrap',
116          items  : [
117           {
118            xtype : 'Column',
119            style : 'margin-top: 15px;',
120            xs : 12,
121            xns : Roo.bootstrap,
122            '|xns' : 'Roo.bootstrap',
123            items  : [
124             {
125              xtype : 'RadioSet',
126              allowBlank : false,
127              fieldLabel : _this._strings['e3917ff2d3b3a88eab391651215d6445'] /* Radio Field Lable Left */,
128              indicatorpos : 'right',
129              labelAlign : 'left',
130              name : 'left_radio',
131              xns : Roo.bootstrap,
132              '|xns' : 'Roo.bootstrap',
133              items  : [
134               {
135                xtype : 'Radio',
136                boxLabel : 'Yes',
137                value : _this._strings['a6105c0a611b41b08f1209506350279e'] /* yes */,
138                xns : Roo.bootstrap,
139                '|xns' : 'Roo.bootstrap'
140               },
141               {
142                xtype : 'Radio',
143                boxLabel : 'No',
144                value : _this._strings['7fa3b767c460b54a2be4d49030b349c7'] /* no */,
145                xns : Roo.bootstrap,
146                '|xns' : 'Roo.bootstrap'
147               }
148              ]
149             }
150            ]
151           }
152          ]
153         },
154         {
155          xtype : 'Row',
156          xns : Roo.bootstrap,
157          '|xns' : 'Roo.bootstrap',
158          items  : [
159           {
160            xtype : 'Column',
161            style : 'margin-top: 15px;',
162            xs : 12,
163            xns : Roo.bootstrap,
164            '|xns' : 'Roo.bootstrap',
165            items  : [
166             {
167              xtype : 'Input',
168              name : 'text_name',
169              xns : Roo.bootstrap,
170              '|xns' : 'Roo.bootstrap'
171             }
172            ]
173           }
174          ]
175         }
176        ]
177       }
178      ]
179     }
180    ]
181   };  }
182 });