Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1899 → Rev 1900

/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormPublication.java
318,6 → 318,12
if (mode.equals(Formulaire.MODE_MODIFIER)) {
publicationLiee.setIdCollection(collection.getId());
}
// ajout au cache si nécessaire
if(!Publication.publisSaisiesModifieesCache.containsKey(publication.getId())) {
Publication.publisSaisiesModifieesCache.put(publication.getId(), publication);
}
publicationLiee.set("_etat_", aDonnee.ETAT_AJOUTE);
grille.getGrille().stopEditing();
483,7 → 489,7
GridCellRenderer<ModelData> datePublicationRendu = new GridCellRenderer<ModelData>() {
public String render(ModelData model, String property, ColumnData config, int rowIndex, int colIndex, ListStore<ModelData> store, Grid<ModelData> grid) {
String annee = (new CollectionAPublication(model, false)).getPublication().getAnneeParution();
if(annee.isEmpty()) {
if(annee.isEmpty() && Publication.publisSaisiesModifieesCache.containsKey((new CollectionAPublication(model, false)).getPublication().getId())) {
annee = Publication.publisSaisiesModifieesCache.get((new CollectionAPublication(model, false)).getPublication().getId()).getAnneeParution();
}
model.set("_annee_", annee);
/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormGeneral.java
179,6 → 179,7
FieldSet administratifFieldSet = new FieldSet();
administratifFieldSet.setHeadingHtml(i18nC.collectionGeneralTitre());
administratifFieldSet.setCollapsible(true);
administratifFieldSet.collapse();
administratifFieldSet.setLayout(Formulaire.creerFormLayout(largeurLabelDefaut, alignementLabelDefaut));
typeDepotCombo = new ChampComboBoxListeValeurs(i18nC.typeDepot(), "typeDepot", tabIndex++);
223,6 → 224,7
FieldSet couvertureFieldSet = new FieldSet();
couvertureFieldSet.setHeadingHtml("Couvertures");
couvertureFieldSet.setCollapsible(true);
couvertureFieldSet.collapse();
couvertureFieldSet.setLayout(Formulaire.creerFormLayout(largeurLabelDefaut, alignementLabelDefaut));
periodeConstitutionChp = new ChampCaseACocher(i18nC.periodeConstitution(), "siecleNaturaliste", false);
238,6 → 240,7
FieldSet typeFieldSet = new FieldSet();
typeFieldSet.setHeadingHtml("Spécimens «types»");
typeFieldSet.setCollapsible(true);
typeFieldSet.collapse();
typeFieldSet.setLayout(Formulaire.creerFormLayout(largeurLabelDefaut, alignementLabelDefaut));
specimenTypeCombo = new ChampComboBoxListeValeurs(i18nC.specimenTypeCollection(), "onpi", tabIndex++);
/trunk/src/org/tela_botanica/Coel.gwt.xml
9,6 → 9,11
<inherits name="com.google.gwt.user.theme.standard.Standard"/>
<!-- <inherits name="com.google.gwt.user.theme.chrome.Chrome"/> -->
<!-- <inherits name="com.google.gwt.user.theme.dark.Dark"/> -->
<!-- Permet d'accélérer le temps de compilation en compilant que pour Firefox > à 1.5 -->
<!-- Bien mettre gecko1_8 (et pas gecko) sinon ne marche pas dans Firefox > à 1.5 -->
<!-- <set-property name="user.agent" value="gecko1_8"/> -->
<!-- <set-property name="user.agent" value="safari"/> -->
 
<!-- Other module inherits -->
<inherits name="com.google.gwt.i18n.I18N"/>
16,5 → 21,10
<extend-property name="locale" values="fr, en"/>
<!-- Specify the app entry point class. -->
<entry-point class="org.tela_botanica.client.Coel"/>
<entry-point class="org.tela_botanica.client.Coel"/>
<!-- A décommenter pour activer une compilation spéciale pour le super dev mode -->
<!-- <add-linker name="xsiframe"/> -->
<!-- <set-configuration-property name="devModeRedirectEnabled" value="true"/> -->
 
</module>
/trunk/src/org/tela_botanica/Coel-super-dev.gwt.xml
New file
0,0 → 1,23
<module rename-to='coel'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name="com.google.gwt.user.User"/>
<inherits name="com.extjs.gxt.ui.GXT"/>
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<inherits name="com.google.gwt.user.theme.standard.Standard"/>
<!-- <inherits name="com.google.gwt.user.theme.chrome.Chrome"/> -->
<!-- <inherits name="com.google.gwt.user.theme.dark.Dark"/> -->
 
<!-- Other module inherits -->
<inherits name="com.google.gwt.i18n.I18N"/>
<!-- <inherits name="com.google.gwt.junit.JUnit"/> -->
<extend-property name="locale" values="fr, en"/>
<!-- Specify the app entry point class. -->
<entry-point class="org.tela_botanica.client.Coel"/>
<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>
</module>