Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 954 Rev 955
Line 86... Line 86...
86
			}
86
			}
Line 87... Line 87...
87
			
87
			
Line 88... Line 88...
88
		}
88
		}
89
		
89
		
90
		if (avoirChampAutre() && !UtilString.isEmpty(champAutre.getValue())) {
90
		if (avoirChampAutre() && !UtilString.isEmpty(champAutre.getValue())) {
Line 91... Line 91...
91
			valeur += aDonnee.SEPARATEUR_VALEURS+champAutre.getValue();
91
			valeur += aDonnee.SEPARATEUR_VALEURS+"AUTRE"+aDonnee.SEPARATEUR_TYPE_VALEUR+champAutre.getValue();
92
		}
92
		}
93
		
93
		
Line 99... Line 99...
99
	}
99
	}
Line 100... Line 100...
100
	
100
	
101
	public void peupler(String donnees) {
101
	public void peupler(String donnees) {
102
		String[] valeurs = donnees.split(aDonnee.SEPARATEUR_VALEURS);
102
		String[] valeurs = donnees.split(aDonnee.SEPARATEUR_VALEURS);
103
		for (int i = 0; i < valeurs.length; i++) {
103
		for (int i = 0; i < valeurs.length; i++) {
104
			if (valeurs[i].startsWith("AUTRE##")) {
104
			if (valeurs[i].startsWith("AUTRE"+aDonnee.SEPARATEUR_TYPE_VALEUR)) {
105
				champAutre.setValue(valeurs[i].replaceFirst("^AUTRE##", ""));
105
				champAutre.setValue(valeurs[i].replaceFirst("^AUTRE"+aDonnee.SEPARATEUR_TYPE_VALEUR, ""));
106
			} else {
106
			} else {
107
				//TODO : check : List<CheckBox> cases = groupeCac.getAll();
107
				//TODO : check : List<CheckBox> cases = groupeCac.getAll();
108
				List<Field<?>> cases = groupeCaseACocher.getAll();
108
				List<Field<?>> cases = groupeCaseACocher.getAll();
109
				for (int j = 0; j < cases.size(); j++) {
109
				for (int j = 0; j < cases.size(); j++) {