Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 490 → Rev 491

/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/resultats/ResultatRechercheImageVue.ui.xml
13,13 → 13,17
<g:HorizontalPanel>
<g:HorizontalPanel ui:field="triParNbVotes">
<g:Label text="{constants.triParNbVotes}" />
<g:Button ui:field="triParNbVotesAscendant" styleName="{style.boutonTriAsc}"></g:Button>
<g:Button ui:field="triParNbVotesDescendant" styleName="{style.boutonTriDesc}"></g:Button>
<g:Button title="{constants.triParNbVotesAscendant}"
ui:field="triParNbVotesAscendant" styleName="{style.boutonTriAsc}"></g:Button>
<g:Button title="{constants.triParNbVotesDescendant}"
ui:field="triParNbVotesDescendant" styleName="{style.boutonTriDesc}"></g:Button>
</g:HorizontalPanel>
<g:HorizontalPanel ui:field="triParDate">
<g:Label text="{constants.triParDate}" />
<g:Button ui:field="triParDateAscendant" styleName="{style.boutonTriAsc}"></g:Button>
<g:Button ui:field="triParDateDescendant" styleName="{style.boutonTriDesc}"></g:Button>
<g:Button title="{constants.triParDateAscendant}"
ui:field="triParDateAscendant" styleName="{style.boutonTriAsc}"></g:Button>
<g:Button title="{constants.triParDateDescendant}"
ui:field="triParDateDescendant" styleName="{style.boutonTriDesc}"></g:Button>
</g:HorizontalPanel>
</g:HorizontalPanel>
</g:HTMLPanel>
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/resultats/ResultatRechercheImagePresenteur.java
76,6 → 76,7
public void onClick(ClickEvent arg0) {
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage();
informationsRechercheImages.setTriParNbVotes(ModeTri.TRI_ASCENDANT);
informationsRechercheImages.setTriParDate(ModeTri.PAS_DE_TRI);
chargerEtAfficherImagesPageEnCours();
}
});
86,6 → 87,7
public void onClick(ClickEvent arg0) {
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage();
informationsRechercheImages.setTriParNbVotes(ModeTri.TRI_DESCENDANT);
informationsRechercheImages.setTriParDate(ModeTri.PAS_DE_TRI);
chargerEtAfficherImagesPageEnCours();
}
});
96,6 → 98,7
public void onClick(ClickEvent arg0) {
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage();
informationsRechercheImages.setTriParDate(ModeTri.TRI_ASCENDANT);
informationsRechercheImages.setTriParNbVotes(ModeTri.PAS_DE_TRI);
chargerEtAfficherImagesPageEnCours();
}
});
106,6 → 109,7
public void onClick(ClickEvent arg0) {
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage();
informationsRechercheImages.setTriParDate(ModeTri.TRI_DESCENDANT);
informationsRechercheImages.setTriParNbVotes(ModeTri.PAS_DE_TRI);
chargerEtAfficherImagesPageEnCours();
}
});
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservationsVue.ui.xml
12,13 → 12,17
<g:HorizontalPanel>
<g:HorizontalPanel ui:field="triParNbVotes">
<g:Label text="{constants.triParNbVotes}" />
<g:Button ui:field="triParNbVotesAscendant" styleName="{style.boutonTriAsc}"></g:Button>
<g:Button ui:field="triParNbVotesDescendant" styleName="{style.boutonTriDesc}"></g:Button>
<g:Button title="{constants.triParNbVotesAscendant}"
ui:field="triParNbVotesAscendant" styleName="{style.boutonTriAsc}"></g:Button>
<g:Button title="{constants.triParNbVotesDescendant}"
ui:field="triParNbVotesDescendant" styleName="{style.boutonTriDesc}"></g:Button>
</g:HorizontalPanel>
<g:HorizontalPanel ui:field="triParDate">
<g:Label text="{constants.triParDate}" />
<g:Button ui:field="triParDateAscendant" styleName="{style.boutonTriAsc}"></g:Button>
<g:Button ui:field="triParDateDescendant" styleName="{style.boutonTriDesc}"></g:Button>
<g:Button title="{constants.triParDateAscendant}"
ui:field="triParDateAscendant" styleName="{style.boutonTriAsc}"></g:Button>
<g:Button title="{constants.triParDateDescendant}"
ui:field="triParDateDescendant" styleName="{style.boutonTriDesc}"></g:Button>
</g:HorizontalPanel>
</g:HorizontalPanel>
</g:HTMLPanel>
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservationsPresenteur.java
67,6 → 67,7
public void onClick(ClickEvent arg0) {
InformationsRecherche informationsRechercheObservations = CacheClient.getInstance().getInformationsRechercheObservation();
informationsRechercheObservations.setTriParNbVotes(ModeTri.TRI_ASCENDANT);
informationsRechercheObservations.setTriParDate(ModeTri.PAS_DE_TRI);
chercherEtAfficherObservationsPageEnCours();
}
});
77,6 → 78,7
public void onClick(ClickEvent arg0) {
InformationsRecherche informationsRechercheObservations = CacheClient.getInstance().getInformationsRechercheObservation();
informationsRechercheObservations.setTriParNbVotes(ModeTri.TRI_DESCENDANT);
informationsRechercheObservations.setTriParDate(ModeTri.PAS_DE_TRI);
chercherEtAfficherObservationsPageEnCours();
}
});
87,6 → 89,7
public void onClick(ClickEvent arg0) {
InformationsRecherche informationsRechercheObservations = CacheClient.getInstance().getInformationsRechercheObservation();
informationsRechercheObservations.setTriParDate(ModeTri.TRI_ASCENDANT);
informationsRechercheObservations.setTriParNbVotes(ModeTri.PAS_DE_TRI);
chercherEtAfficherObservationsPageEnCours();
}
});
97,6 → 100,7
public void onClick(ClickEvent arg0) {
InformationsRecherche informationsRechercheObservations = CacheClient.getInstance().getInformationsRechercheObservation();
informationsRechercheObservations.setTriParDate(ModeTri.TRI_DESCENDANT);
informationsRechercheObservations.setTriParNbVotes(ModeTri.PAS_DE_TRI);
chercherEtAfficherObservationsPageEnCours();
}
});
/trunk/src/org/tela_botanica/del/client/services/rest/ImageServiceConcret.java
7,7 → 7,7
 
public class ImageServiceConcret implements ImageService {
 
private String serverUrl = "/del/jrest/";
private String serverUrl = "./jrest/";
 
@Override
public void getImagesEfloreParTaxon(String taxon, ImagesParTaxonCallback callback) {
/trunk/src/org/tela_botanica/del/client/services/rest/ObservationServiceConcret.java
8,7 → 8,7
 
public class ObservationServiceConcret implements ObservationService {
 
private String serverUrl = "/del/jrest/";
private String serverUrl = "./jrest/";
 
@Override
public ObservationServiceResultat getObservations(InformationsRecherche infos, int debut, int fin, ObservationsCallback callback) {
/trunk/src/org/tela_botanica/del/client/services/UtilitairesAutoCompletionService.java
9,9 → 9,9
// Attention à n'utiliser que si eflore est installé
public static String urlServiceCompletionNomEflore = "http://localhost/service:eflore:0.1/bdtfx/noms";
public static String urlServiceCompletionNomLocale = "/del/jrest/NomsTaxons/";
public static String urlServiceCompletionNomLocale = "./jrest/NomsTaxons/";
public static String urlServiceCompletionCommunes = "/del/jrest/Communes/";
public static String urlServiceCompletionCommunes = "./jrest/Communes/";
public static String effectuerPreTraitementChaineRequeteGenreEspeceSlash(String requete) {
String chaineTraitee = requete;
/trunk/src/org/tela_botanica/del/client/composants/pagination/PaginationPresenteur.java
243,7 → 243,8
pas = nouveauPas;
chargerElements((pageCourante - 1)*pas, pageCourante*pas);
BusEvenementiel.getInstance().fireEvent(new EvenementChangementPas(nouveauPas, groupePagination));
BusEvenementiel.getInstance().fireEvent(new EvenementChangementPage(pageCourante, groupePagination));
BusEvenementiel.getInstance().fireEvent(new EvenementChangementPage(1, groupePagination));
//BusEvenementiel.getInstance().fireEvent(new EvenementChangementPage(pageCourante, groupePagination));
}
 
public void allerALaPagePrecedente() {
/trunk/src/org/tela_botanica/del/client/modeles/InformationsRecherche.java
26,7 → 26,7
 
private ModeTri triParNbVotes = ModeTri.PAS_DE_TRI;
 
private ModeTri triParDate = ModeTri.PAS_DE_TRI;
private ModeTri triParDate = ModeTri.TRI_DESCENDANT;
 
public String getRechercheLibre() {
return rechercheLibre;
/trunk/src/org/tela_botanica/del/client/i18n/Vocabulary.properties
30,7 → 30,7
contributeur= Contributeur
commentaire = Commentaire
commentaires= Commentaires
autre = autre
autre = Autre
nomCommun = Nom commun
lieuDit = Lieu dit
milieu = Milieu
39,10 → 39,14
 
#ecran recherche image
rechercherImage = Rechercher une image
entrerMotClef = Entrez un nom de genre ou d'espèce, un nom de commune, un numéro de département, l'email d'un utilisateur ou un mot-clef
entrerMotClef = Entrez un nom de genre ou d'espèce, un nom de commune, un numéro de département, l'email d'un utilisateur ou un mot-clé
rechercherTaxon = Rechercher le taxon
triParNbVotes = Tri par nombre de votes
triParDate = Tri par date
triParNbVotesAscendant = Tri par nombre de votes du maximum au minimum
triParDateAscendant = Tri par date du plus ancien au plus recent
triParNbVotesDescendant = Tri par nombre de votes du minimum au maximum
triParDateDescendant = Tri par date du plus recent au plus ancien
 
#ecran recherche observation
rechercherObservation = Identifier une plante
74,7 → 78,7
taxonADeterminer = Taxon a determiner
imageEflore = Photos d'eFlore
metadonneesPhoto = Meta-donnees de la photo
motsClefs = Mots-clefs
motsClefs = Mots-clés
validePar = Valide par
dateValidation = Date de dernière validation
taxon = Taxon
95,14 → 99,14
 
#composant recherche avancee
rechercheAvancee= Recherche avancée
departement = Departement
departement = Département
taxon = Taxon
genre = Genre
mot_clef= Mot-clef
mot_clef= Mot-clé
date= Date
commune = Commune
famille = Famille
tag = tag
tag = Tag
 
 
#composant pagination
/trunk/src/org/tela_botanica/del/client/i18n/Vocabulary.java
664,6 → 664,24
String triParDate();
 
/**
* Translated "Tri par date du plus ancien au plus recent".
*
* @return translated "Tri par date du plus ancien au plus recent"
*/
@DefaultStringValue("Tri par date du plus ancien au plus recent")
@Key("triParDateAscendant")
String triParDateAscendant();
 
/**
* Translated "Tri par date du plus recent au plus ancien".
*
* @return translated "Tri par date du plus recent au plus ancien"
*/
@DefaultStringValue("Tri par date du plus recent au plus ancien")
@Key("triParDateDescendant")
String triParDateDescendant();
 
/**
* Translated "Tri par nombre de votes".
*
* @return translated "Tri par nombre de votes"
673,6 → 691,24
String triParNbVotes();
 
/**
* Translated "Tri par nombre de votes du maximum au minimum".
*
* @return translated "Tri par nombre de votes du maximum au minimum"
*/
@DefaultStringValue("Tri par nombre de votes du maximum au minimum")
@Key("triParNbVotesAscendant")
String triParNbVotesAscendant();
 
/**
* Translated "Tri par nombre de votes du minimum au maximum".
*
* @return translated "Tri par nombre de votes du minimum au maximum"
*/
@DefaultStringValue("Tri par nombre de votes du minimum au maximum")
@Key("triParNbVotesDescendant")
String triParNbVotesDescendant();
 
/**
* Translated "Valide par".
*
* @return translated "Valide par"