examples/bootstrap/RadioSet.bjs
[roojs1] / examples / bootstrap / RadioSet.bjs
1 {
2  "name" : "RadioSet",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/edward/gitlive/roojs1/examples/bootstrap/RadioSet.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "7fa3b767c460b54a2be4d49030b349c7" : "no",
10   "e3917ff2d3b3a88eab391651215d6445" : "Radio Field Lable Left",
11   "8d80ce38760953b68529d7fc9d8d89b6" : "Radio Field Lable",
12   "a6105c0a611b41b08f1209506350279e" : "yes",
13   "b7dc22f0e17f4dfca2940eb0bd0cdc54" : "Radio Set Example"
14  },
15  "items" : [
16   {
17    "String cls" : "bg-black",
18    "xtype" : "Body",
19    "$ xns" : "Roo.bootstrap",
20    "String style" : "min-height: 100%;",
21    "items" : [
22     {
23      "xtype" : "Container",
24      "$ xns" : "Roo.bootstrap",
25      "items" : [
26       {
27        "listeners" : {
28         "render" : "function (_self)\n{\n    _this.form = this;\n}"
29        },
30        "xtype" : "Form",
31        "$ xns" : "Roo.bootstrap",
32        "items" : [
33         {
34          "xtype" : "Row",
35          "$ xns" : "Roo.bootstrap",
36          "items" : [
37           {
38            "xtype" : "Column",
39            "Number xs" : 12,
40            "$ xns" : "Roo.bootstrap",
41            "items" : [
42             {
43              "xtype" : "Header",
44              "Number level" : 1,
45              "$ xns" : "Roo.bootstrap",
46              "String html" : "Radio Set Example"
47             }
48            ]
49           }
50          ]
51         },
52         {
53          "xtype" : "Row",
54          "$ xns" : "Roo.bootstrap",
55          "items" : [
56           {
57            "xtype" : "Column",
58            "Number xs" : 12,
59            "$ xns" : "Roo.bootstrap",
60            "items" : [
61             {
62              "bool allowBlank" : false,
63              "xtype" : "RadioSet",
64              "string fieldLabel" : "Radio Field Lable",
65              "$ xns" : "Roo.bootstrap",
66              "string indicatorpos" : "right",
67              "string name" : "radio_name",
68              "items" : [
69               {
70                "xtype" : "Radio",
71                "$ xns" : "Roo.bootstrap",
72                "string boxLabel" : "Yes",
73                "string value" : "yes"
74               },
75               {
76                "xtype" : "Radio",
77                "$ xns" : "Roo.bootstrap",
78                "string boxLabel" : "No",
79                "string value" : "no"
80               }
81              ]
82             }
83            ]
84           }
85          ]
86         },
87         {
88          "xtype" : "Row",
89          "$ xns" : "Roo.bootstrap",
90          "items" : [
91           {
92            "xtype" : "Column",
93            "Number xs" : 12,
94            "$ xns" : "Roo.bootstrap",
95            "String style" : "margin-top: 15px;",
96            "items" : [
97             {
98              "String name" : "text_name",
99              "xtype" : "Input",
100              "$ xns" : "Roo.bootstrap"
101             }
102            ]
103           }
104          ]
105         },
106         {
107          "xtype" : "Row",
108          "$ xns" : "Roo.bootstrap",
109          "items" : [
110           {
111            "xtype" : "Column",
112            "Number xs" : 12,
113            "$ xns" : "Roo.bootstrap",
114            "items" : [
115             {
116              "bool allowBlank" : false,
117              "xtype" : "RadioSet",
118              "string fieldLabel" : "Radio Field Lable Left",
119              "$ xns" : "Roo.bootstrap",
120              "string indicatorpos" : "right",
121              "string name" : "left_radio",
122              "items" : [
123               {
124                "xtype" : "Radio",
125                "$ xns" : "Roo.bootstrap",
126                "string boxLabel" : "Yes",
127                "string value" : "yes"
128               },
129               {
130                "xtype" : "Radio",
131                "$ xns" : "Roo.bootstrap",
132                "string boxLabel" : "No",
133                "string value" : "no"
134               }
135              ]
136             }
137            ]
138           }
139          ]
140         }
141        ]
142       }
143      ]
144     }
145    ]
146   }
147  ]
148 }