desc=new TextArea();
FlowLayoutContainer centerContainer=new FlowLayoutContainer();
centerContainer.setScrollMode(ScrollMode.AUTOY);
FieldSet one=new FieldSet();
one.setHeadingText("基本信息");
VerticalLayoutContainer p1 = new VerticalLayoutContainer();
p1.add(new FieldLabel(name, "名称"),new VerticalLayoutContainer.VerticalLayoutData(1, 1));
p1.add(new FieldLabel(desc, "描述"),new VerticalLayoutContainer.VerticalLayoutData(1, 1));
one.add(p1);
centerContainer.add(one,new MarginData(5));
final FieldSet two=new FieldSet();
two.setHeadingText("配置项信息");
configs=new TextArea();
configs.setResizable(TextAreaInputCell.Resizable.BOTH);
configs.addValidator(FormatUtil.propValidator);
configs.setWidth(800);
configs.setHeight(150);
two.add(configs);
centerContainer.add(two,new MarginData(5));
final FieldSet three=new FieldSet();
three.setHeadingText("资源信息");
resources=new TextArea();
resources.setResizable(Resizable.BOTH);
resources.setWidth(800);
resources.setHeight(150);
resources.addValidator(FormatUtil.resourceValidator);
three.add(resources);
centerContainer.add(three,new MarginData(5));
setCenter(centerContainer);
addButton(new TextButton("返回", new SelectHandler() {