1216,7 → 1216,8 |
TextField<String> prenomChp = new TextField<String>(); |
prenomChp.setAllowBlank(false); |
prenomChp.getMessages().setBlankText("Ce champ est obligatoire."); |
prenomChp.setAutoValidate(true); |
prenomChp.setAutoValidate(true); |
prenomChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
column.setEditor(new CellEditor(prenomChp)); |
configs.add(column); |
|
1224,7 → 1225,8 |
TextField<String> nomChp = new TextField<String>(); |
nomChp.setAllowBlank(false); |
nomChp.getMessages().setBlankText("Ce champ est obligatoire."); |
nomChp.setAutoValidate(true); |
nomChp.setAutoValidate(true); |
nomChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
column.setEditor(new CellEditor(nomChp)); |
configs.add(column); |
|
1438,6 → 1440,7 |
nomStructureChp.setFieldLabel("Nom de la structure"); |
nomStructureChp.setAllowBlank(false); |
nomStructureChp.getMessages().setBlankText("Ce champ est obligatoire."); |
nomStructureChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
fieldSetIdentite.add(nomStructureChp, new FormData(450, 0)); |
|
|
1451,6 → 1454,7 |
projetsCombo.setEditable(false); |
projetsCombo.setTriggerAction(TriggerAction.ALL); |
projetsCombo.setStore(projetsMagazin); |
projetsCombo.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
fieldSetIdentite.add(projetsCombo, new FormData(450, 0)); |
|
// Création du sous-formulaire : Acronyme |