Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1862 Rev 1865
Line 81... Line 81...
81
		String urlCourante = Window.Location.getHref();
81
		String urlCourante = Window.Location.getHref();
82
		Config config = new Config();
82
		Config config = new Config();
83
		String urlAppliImg = config.getUrl("pictoflora");
83
		String urlAppliImg = config.getUrl("pictoflora");
Line 84... Line 84...
84
		
84
		
85
		setPageCourante(Location.getHash());
-
 
Line 86... Line 85...
86
		GWT.log("initialiserAvecParametres:"+getPageCourante());
85
		setPageCourante(Location.getHash());
87
		
86
		
88
		String rechercheLibre = Location.getParameter("masque");
87
		String rechercheLibre = Location.getParameter("masque");
89
		String famille = Location.getParameter("masque.famille");
88
		String famille = Location.getParameter("masque.famille");
Line 383... Line 382...
383
		String urlAppliObs = config.getUrl("identiplante");
382
		String urlAppliObs = config.getUrl("identiplante");
384
		String urlAppliImg = config.getUrl("pictoflora");
383
		String urlAppliImg = config.getUrl("pictoflora");
385
		String url = urlCourante;
384
		String url = urlCourante;
386
		String arguments = "";
385
		String arguments = "";
Line 387... Line -...
387
		
-
 
388
		GWT.log("URL courante:"+urlCourante);
-
 
389
		//GWT.log("IdentiPlante:"+urlCourante.contains(urlAppliObs));
-
 
390
		//GWT.log("PictoFlora:"+urlCourante.contains(urlAppliImg));
-
 
391
		
386
		
392
		if (urlCourante.contains(urlAppliImg)) {
387
		if (urlCourante.contains(urlAppliImg)) {
393
			InformationsRecherche infoRecherche;
388
			InformationsRecherche infoRecherche;
Line 394... Line 389...
394
			infoRecherche = getInformationsRechercheImage();
389
			infoRecherche = getInformationsRechercheImage();
Line 427... Line 422...
427
		url = url.replaceAll("\\?&", "?");
422
		url = url.replaceAll("\\?&", "?");
428
		if (url.endsWith("&")) {
423
		if (url.endsWith("&")) {
429
			url = url.substring(0, url.length()-1);
424
			url = url.substring(0, url.length()-1);
430
		}
425
		}
Line 431... Line -...
431
		
-
 
432
		GWT.log("URL de sortie:"+url);
-
 
433
		
426
		
434
		return url;
427
		return url;
Line 435... Line 428...
435
	}
428
	}
436
	
429