Subversion Repositories eFlore/Applications.del

Rev

Rev 545 | Rev 553 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 545 Rev 552
Line 125... Line 125...
125
				return requete;
125
				return requete;
126
			}
126
			}
Line 127... Line 127...
127
			
127
			
128
			@Override
128
			@Override
129
			protected void surSelectionSuggestion(String suggestion) {
-
 
130
				String[] tableauCommuneDpt = suggestion.split(" ");
129
			protected void surSelectionSuggestion(String suggestion) {
131
				if(tableauCommuneDpt.length == 2) {
130
				collecterInfosRecherche();
132
					String dpt = tableauCommuneDpt[1].replaceAll("\\(", "").replaceAll("\\)", "");
131
				setValeur(getInformationsRechercheEnCache().getCommune());
133
					getVue().setValeurDepartement(dpt);
-
 
134
					setValeur(tableauCommuneDpt[0]);
-
 
135
				}
132
				vue.setValeurDepartement(getInformationsRechercheEnCache().getDepartement());
Line 136... Line 133...
136
			}
133
			}
137
 
134
 
138
			@Override
135
			@Override
Line 272... Line 269...
272
 
269
 
273
	public void afficherRequeteEtLancerRecherche() {
270
	public void afficherRequeteEtLancerRecherche() {
274
		InformationsRecherche informationsRecherche = getInformationsRechercheEnCache();
271
		InformationsRecherche informationsRecherche = getInformationsRechercheEnCache();
275
		if (informationsRecherche != null) {
272
		if (informationsRecherche != null) {
-
 
273
			completionTaxonsPresenteur.setValeur(informationsRecherche.getTaxon());
276
			completionTaxonsPresenteur.setValeur(informationsRecherche.getTaxon());
274
			completionCommunesPresenteur.setValeur(informationsRecherche.getCommune());
277
			vue.chargerValeursRecherchePrecedente(informationsRecherche);
275
			vue.chargerValeursRecherchePrecedente(informationsRecherche);
278
		}
276
		}
279
		lancerRecherche();
277
		lancerRecherche();