Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1557 Rev 1559
Line 63... Line 63...
63
		return pageCourante;
63
		return pageCourante;
64
	}
64
	}
Line 65... Line 65...
65
 
65
 
66
	public void setPageCourante(String pageCourante) {
66
	public void setPageCourante(String pageCourante) {
-
 
67
		pageCourante = pageCourante.replaceAll("#", "");
-
 
68
		pageCourante = pageCourante.replaceAll("page_validation", ConstantesNavigation.PAGE_DETAIL_OBS);
67
		pageCourante = pageCourante.replaceAll("#", "");
69
		pageCourante = pageCourante.replaceAll("page_validation_pictoflora", ConstantesNavigation.PAGE_DETAIL_IMG);
68
		this.pageCourante = pageCourante;
70
		this.pageCourante = pageCourante;
Line 69... Line 71...
69
	}
71
	}
Line 397... Line 399...
397
		// remplacements batards pour corriger l'url
399
		// remplacements batards pour corriger l'url
398
		// TODO: factoriser toute la fonction 
400
		// TODO: factoriser toute la fonction 
399
		url = url.replaceAll("&#", "#");
401
		url = url.replaceAll("&#", "#");
400
		url = url.replaceAll("&&", "&");
402
		url = url.replaceAll("&&", "&");
401
		url = url.replaceAll("\\?&", "?");
403
		url = url.replaceAll("\\?&", "?");
402
		if(url.endsWith("&")) {
404
		if (url.endsWith("&")) {
403
			url = url.substring(0, url.length()-1);
405
			url = url.substring(0, url.length()-1);
404
		}
406
		}
Line 405... Line 407...
405
		
407