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