TextArea comment = new TextArea();
comment.setName(GestionDto.COMMENT);
formPanel.add(comment, new FormData(ANCHOR_SPEC));
comment.setFieldLabel(messages.comment());
NumberField amount1 = createNumberField(null);
amount1.setName(GestionDto.AMOUNT);
formPanel.add(amount1, new FormData(ANCHOR_SPEC));
amount1.setFieldLabel(messages.amount());
add(formPanel);
marche = new CustomComboBox<SimpleDto>();
marche.setName(GestionDto.MARCHE);
marche.setStore(new ListStore());
marche.setFieldLabel(messages.marche());
loadMarcheData();
formPanel.add(marche, new FormData(ANCHOR_SPEC));
NumberField avenants = createNumberField(null);
avenants.setName(GestionDto.TRAITE);
formPanel.add(avenants, new FormData(ANCHOR_SPEC));
avenants.setFieldLabel(messages.avenants());
NumberField arrete = createNumberField(null);
arrete.setName(GestionDto.ARRETE);
formPanel.add(arrete, new FormData(ANCHOR_SPEC));
arrete.setFieldLabel(messages.arrete());
NumberField nonArrete = createNumberField(null);
nonArrete.setName(GestionDto.NON_ARRETE);
formPanel.add(nonArrete, new FormData(ANCHOR_SPEC));
nonArrete.setFieldLabel(messages.nonArrete());
NumberField provision = createNumberField(null);
provision.setName(GestionDto.PROVISION);
formPanel.add(provision, new FormData(ANCHOR_SPEC));
provision.setFieldLabel(messages.provision());
NumberField devisRefuse = createNumberField(null);
devisRefuse.setName(GestionDto.DEVIS_REFUSE);
formPanel.add(devisRefuse, new FormData(ANCHOR_SPEC));
devisRefuse.setFieldLabel(messages.devisRefuse());
NumberField reelActivite = createNumberField(null);
reelActivite.setName(GestionDto.REEL_ACTIVITIVE);
formPanel.add(reelActivite, new FormData(ANCHOR_SPEC));
reelActivite.setFieldLabel(messages.reelActivitive());
reelActivite.setMinValue(0);
reelActivite.setMaxValue(100);
type = new CustomComboBox<SimpleDto>();
type.setStore(new ListStore());
type.setName(GestionDto.TYPE);
type.setFieldLabel(messages.type());
loadTypeData();
formPanel.add(type, new FormData(ANCHOR_SPEC));
TextField<String> label2 = new CustomTextField<String>();
label2.setMaxLength(MAX_LENGTH_1);
label2.setName(GestionDto.LABEL2);
formPanel.add(label2, new FormData(ANCHOR_SPEC));
label2.setFieldLabel(messages.label());
NumberField amount2 = createNumberField(null);
amount2.setName(GestionDto.AMOUNT2);
formPanel.add(amount2, new FormData(ANCHOR_SPEC));
amount2.setFieldLabel(messages.amount());
final GestionDto dataModel = new GestionDto();
dataModel.addChangeListener(new ChangeListener() {
@Override
public void modelChanged(ChangeEvent event) {