/trunk/src/org/tela_botanica/client/vues/personne/PersonneForm.java |
---|
217,8 → 217,6 |
cbProjets.setTriggerAction(TriggerAction.ALL); |
cbProjets.setStore(storeProjets); |
cbProjets.setAllowBlank(false); |
cbProjets.addStyleName(ComposantClass.OBLIGATOIRE); |
cbProjets.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
fsProjet.add(cbProjets); |
hmIdentite.put("cbProjets", cbProjets); |
265,8 → 263,6 |
tfNom.setFieldLabel("Nom"); |
tfNom.setAllowBlank(false); |
tfNom.setName("nom"); |
tfNom.addStyleName(ComposantClass.OBLIGATOIRE); |
tfNom.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
fsNoms.add(tfNom); |
hmIdentite.put("tfNom", tfNom); |
/trunk/src/org/tela_botanica/client/vues/structure/StructureForm.java |
---|
4,7 → 4,6 |
import java.util.Iterator; |
import java.util.List; |
import org.tela_botanica.client.ComposantClass; |
import org.tela_botanica.client.Mediateur; |
import org.tela_botanica.client.RegistreId; |
import org.tela_botanica.client.images.Images; |
1218,7 → 1217,6 |
prenomChp.setAllowBlank(false); |
prenomChp.getMessages().setBlankText("Ce champ est obligatoire."); |
prenomChp.setAutoValidate(true); |
prenomChp.addStyleName(ComposantClass.OBLIGATOIRE); |
prenomChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
column.setEditor(new CellEditor(prenomChp)); |
configs.add(column); |
1228,7 → 1226,6 |
nomChp.setAllowBlank(false); |
nomChp.getMessages().setBlankText("Ce champ est obligatoire."); |
nomChp.setAutoValidate(true); |
nomChp.addStyleName(ComposantClass.OBLIGATOIRE); |
nomChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
column.setEditor(new CellEditor(nomChp)); |
configs.add(column); |
1443,7 → 1440,6 |
nomStructureChp.setFieldLabel("Nom de la structure"); |
nomStructureChp.setAllowBlank(false); |
nomStructureChp.getMessages().setBlankText("Ce champ est obligatoire."); |
nomStructureChp.addStyleName(ComposantClass.OBLIGATOIRE); |
nomStructureChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
fieldSetIdentite.add(nomStructureChp, new FormData(450, 0)); |
1458,7 → 1454,6 |
projetsCombo.setEditable(false); |
projetsCombo.setTriggerAction(TriggerAction.ALL); |
projetsCombo.setStore(projetsMagazin); |
projetsCombo.addStyleName(ComposantClass.OBLIGATOIRE); |
projetsCombo.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
fieldSetIdentite.add(projetsCombo, new FormData(450, 0)); |
/trunk/src/org/tela_botanica/client/vues/projet/ProjetForm.java |
---|
146,19 → 146,16 |
abreviationChp = new TextField<String>(); |
abreviationChp.setFieldLabel("Abréviation"); |
abreviationChp.addStyleName(ComposantClass.OBLIGATOIRE); |
abreviationChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
generalitesFieldset.add(abreviationChp, new FormData(450, 0)); |
descriptionChp = new TextArea(); |
descriptionChp.setFieldLabel("Description"); |
descriptionChp.addStyleName(ComposantClass.OBLIGATOIRE); |
descriptionChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
generalitesFieldset.add(descriptionChp, new FormData(450, 0)); |
resumeChp = new TextArea(); |
resumeChp.setFieldLabel("Résumé"); |
resumeChp.addStyleName(ComposantClass.OBLIGATOIRE); |
resumeChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
generalitesFieldset.add(resumeChp, new FormData(450, 0)); |
/trunk/src/org/tela_botanica/client/vues/publication/PublicationForm.java |
---|
4,7 → 4,6 |
import java.util.Iterator; |
import java.util.List; |
import org.tela_botanica.client.ComposantClass; |
import org.tela_botanica.client.Mediateur; |
import org.tela_botanica.client.images.Images; |
import org.tela_botanica.client.interfaces.Rafraichissable; |
212,7 → 211,6 |
comboBox.setDisplayField("fmt_nom_complet"); |
comboBox.setTriggerAction(TriggerAction.ALL); |
comboBox.setStore(auteursStorePartage); |
comboBox.addStyleName(ComposantClass.OBLIGATOIRE); |
comboBox.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
return comboBox; |
231,7 → 229,6 |
titreChp = new TextField<String>(); |
titreChp.setName("cpu"); |
titreChp.setFieldLabel("Titre de l'article ou de l'ouvrage"); |
titreChp.addStyleName(ComposantClass.OBLIGATOIRE); |
titreChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
generalitesFieldset.add(titreChp, new FormData(450, 0)); |
269,7 → 266,6 |
datePublicationChp.setMaxLength(4); |
datePublicationChp.setMinLength(4); |
datePublicationChp.setFieldLabel("Année de publication"); |
datePublicationChp.addStyleName(ComposantClass.OBLIGATOIRE); |
datePublicationChp.addListener(Events.Valid, creerEcouteurChampObligatoire()); |
editionFieldset.add(datePublicationChp, new FormData(40, 0)); |