Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 980 → Rev 981

/trunk/src/org/tela_botanica/client/vues/personne/PersonneForm.java
217,6 → 217,8
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);
263,6 → 265,8
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,6 → 4,7
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;
1217,6 → 1218,7
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);
1226,6 → 1228,7
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);
1440,6 → 1443,7
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));
1454,6 → 1458,7
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,16 → 146,19
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,6 → 4,7
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;
211,6 → 212,7
comboBox.setDisplayField("fmt_nom_complet");
comboBox.setTriggerAction(TriggerAction.ALL);
comboBox.setStore(auteursStorePartage);
comboBox.addStyleName(ComposantClass.OBLIGATOIRE);
comboBox.addListener(Events.Valid, creerEcouteurChampObligatoire());
 
return comboBox;
229,6 → 231,7
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));
266,6 → 269,7
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));