var deployType = new Ext.form.RadioGroup({
width : 220,
hideLabel:true,
style:'margin-left:100px;margin-top:20px',
columns : 1,
vertical :true,
items:[
{boxLabel:'不部署',inputValue:'0',name:'deployType',checked:true},
{boxLabel:'仅部署',inputValue:'1',name:'deployType'},
{boxLabel:'部署并启动',width:150,inputValue:'2',name:'deployType'}
]
});
提交参数时:
params:{
deployType:step4_card.getForm().getValues().deployType
}
/*var deployRun = new Ext.form.Checkbox({
fieldLabel :'部署并启动',
name:'deployRun',
listeners:{
check :function(checkbox ,check){
if(check){
deploy.setValue(false);
}
}
}
});
var deploy = new Ext.form.Checkbox({
fieldLabel :'仅部署',
name:'deploy',
listeners:{
check :function(checkbox ,check){
if(check){
// 部署并启动' check 不选中
deployRun.setValue(false);
}
}
}
});*/
width : 220,
hideLabel:true,
style:'margin-left:100px;margin-top:20px',
columns : 1,
vertical :true,
items:[
{boxLabel:'不部署',inputValue:'0',name:'deployType',checked:true},
{boxLabel:'仅部署',inputValue:'1',name:'deployType'},
{boxLabel:'部署并启动',width:150,inputValue:'2',name:'deployType'}
]
});
提交参数时:
params:{
deployType:step4_card.getForm().getValues().deployType
}
/*var deployRun = new Ext.form.Checkbox({
fieldLabel :'部署并启动',
name:'deployRun',
listeners:{
check :function(checkbox ,check){
if(check){
deploy.setValue(false);
}
}
}
});
var deploy = new Ext.form.Checkbox({
fieldLabel :'仅部署',
name:'deploy',
listeners:{
check :function(checkbox ,check){
if(check){
// 部署并启动' check 不选中
deployRun.setValue(false);
}
}
}
});*/