3 Roo.example = Roo.example || {};
5 Roo.example.combobox = new Roo.XComponent({
6 part : ["layout","viewpanel"],
7 order : '001-viewpanel',
10 name : "unnamed module",
17 el : new Roo.bootstrap.Body()
19 this.parent.el.layout = false;
20 this.parent.el.render(document.body);
24 var baseURL = '/web.eventmanager/demo.local.php';
33 placeholder : 'Select a country',
34 displayField : 'name',
35 hiddenName : 'country_id',
38 name : 'country_id_name',
39 triggerAction : 'all',
41 tpl : '<li class="select2-result"><b>{name}</b></div>',
43 style : 'margin-top:20px;',
46 render : function (_self) {
47 _this.normalSel = _self;
50 forceSelection : true,
52 queryParam : 'query[name]',
56 fieldLabel : 'Country Normal',
63 beforeload : function (_self, o) {
64 o.params = o.params || {};
69 sortInfo : { direction : 'ASC', field: 'name' },
73 url : baseURL + '/Geoip/Core_geoip_country',
97 '|xns' : 'Roo.bootstrap',
103 '|xns' : 'Roo.bootstrap',
108 '|xns' : 'Roo.bootstrap',
117 ['I am actively looking for work','YES'],
119 'Would consider a relivant offer',
123 'Not currently interesetd unless meets aspirational goals',
127 xtype : 'SimpleStore',
129 fields : [ 'label','value' ]
131 '|xns' : 'Roo.bootstrap',
132 selectOnFocus : true,
135 valueField : 'value',
138 triggerAction : 'all',
143 tpl : '<div class=\"select2-result\"><b>{label}</b></div>',
144 fieldLabel : 'How would you describe your career plans',
145 hiddenName : 'employ_plan',
146 displayField : 'label',
147 forceSelection : true,
149 render : function (_self)
151 // this.setValue('Individual');
152 this.el.select('span').removeClass('btn');
154 select : function (combo, record, index)