url='{this.urlBase+"SubmitGroup"}'
resultFormat="text" result="SubmitUserResult(event)" />
private function SubmitGroup(event:Event):void {
if(!SubmitValidate()){
return;
}
var params:URLVariables = new URLVariables();
params.IsAddNew=encodeURIComponent(this.IsAddNew.toString());
params.groupid=encodeURIComponent(this.GroupID.toString());
params.group_name = encodeURIComponent(this.group_name.text );
params.group_info=encodeURIComponent(this.group_info.text);
var GInUsersAr:Array=new Array();
for each(var GIUser in this.GInUsersListC.dataProvider){
GInUsersAr.push(encodeURIComponent(GIUser.data))
}
params.giusrs=GInUsersAr;
var GAuths:Array=new Array();
for each(var AuthCb in this.AuthInfosVB.getChildren()){
if(AuthCb.selected==true){
GAuths.push(encodeURIComponent(AuthCb.id));
}
}
params.gauths=GAuths;
this.SubmitGroupDataService.send(params);
}