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              "$ xns" : "Roo.bootstrap",
45              "Number level" : 1,
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" : "top_radio",
68              "string labelAlign" : "top",
69              "items" : [
70               {
71                "xtype" : "Radio",
72                "$ xns" : "Roo.bootstrap",
73                "string boxLabel" : "Yes",
74                "string value" : "yes"
75               },
76               {
77                "xtype" : "Radio",
78                "$ xns" : "Roo.bootstrap",
79                "string boxLabel" : "No",
80                "string value" : "no"
81               }
82              ]
83             }
84            ]
85           }
86          ]
87         },
88         {
89          "xtype" : "Row",
90          "$ xns" : "Roo.bootstrap",
91          "items" : [
92           {
93            "xtype" : "Column",
94            "Number xs" : 12,
95            "$ xns" : "Roo.bootstrap",
96            "items" : [
97             {
98              "bool allowBlank" : false,
99              "xtype" : "RadioSet",
100              "string fieldLabel" : "Radio Field Lable Left",
101              "$ xns" : "Roo.bootstrap",
102              "string indicatorpos" : "right",
103              "string name" : "left_radio",
104              "string labelAlign" : "left",
105              "items" : [
106               {
107                "xtype" : "Radio",
108                "$ xns" : "Roo.bootstrap",
109                "string boxLabel" : "Yes",
110                "string value" : "yes"
111               },
112               {
113                "xtype" : "Radio",
114                "$ xns" : "Roo.bootstrap",
115                "string boxLabel" : "No",
116                "string value" : "no"
117               }
118              ]
119             }
120            ]
121           }
122          ]
123         },
124         {
125          "xtype" : "Row",
126          "$ xns" : "Roo.bootstrap",
127          "items" : [
128           {
129            "xtype" : "Column",
130            "Number xs" : 12,
131            "$ xns" : "Roo.bootstrap",
132            "String style" : "margin-top: 15px;",
133            "items" : [
134             {
135              "String name" : "text_name",
136              "xtype" : "Input",
137              "$ xns" : "Roo.bootstrap"
138             }
139            ]
140           }
141          ]
142         }
143        ]
144       }
145      ]
146     }
147    ]
148   }
149  ]
150 }