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            xs : 12,
120            xns : Roo.bootstrap,
121            '|xns' : 'Roo.bootstrap',
122            items  : [
123             {
124              xtype : 'RadioSet',
125              allowBlank : false,
126              fieldLabel : _this._strings['e3917ff2d3b3a88eab391651215d6445'] /* Radio Field Lable Left */,
127              indicatorpos : 'right',
128              labelAlign : 'left',
129              name : 'left_radio',
130              xns : Roo.bootstrap,
131              '|xns' : 'Roo.bootstrap',
132              items  : [
133               {
134                xtype : 'Radio',
135                boxLabel : 'Yes',
136                value : _this._strings['a6105c0a611b41b08f1209506350279e'] /* yes */,
137                xns : Roo.bootstrap,
138                '|xns' : 'Roo.bootstrap'
139               },
140               {
141                xtype : 'Radio',
142                boxLabel : 'No',
143                value : _this._strings['7fa3b767c460b54a2be4d49030b349c7'] /* no */,
144                xns : Roo.bootstrap,
145                '|xns' : 'Roo.bootstrap'
146               }
147              ]
148             }
149            ]
150           }
151          ]
152         },
153         {
154          xtype : 'Row',
155          xns : Roo.bootstrap,
156          '|xns' : 'Roo.bootstrap',
157          items  : [
158           {
159            xtype : 'Column',
160            style : 'margin-top: 15px;',
161            xs : 12,
162            xns : Roo.bootstrap,
163            '|xns' : 'Roo.bootstrap',
164            items  : [
165             {
166              xtype : 'Input',
167              name : 'text_name',
168              xns : Roo.bootstrap,
169              '|xns' : 'Roo.bootstrap'
170             }
171            ]
172           }
173          ]
174         }
175        ]
176       }
177      ]
178     }
179    ]
180   };  }
181 });