| Line 126... |
Line 126... |
| 126 |
" <span class='{css_label}'>{i18n_acronyme} :</span> {acronyme}<br />"+
|
126 |
" <span class='{css_label}'>{i18n_acronyme} :</span> {acronyme}<br />"+
|
| 127 |
" <span class='{css_label}'>{i18n_code} :</span> {code}<br />"+
|
127 |
" <span class='{css_label}'>{i18n_code} :</span> {code}<br />"+
|
| 128 |
" <span class='{css_label}'>{i18n_cote} :</span> {cote}<br />"+
|
128 |
" <span class='{css_label}'>{i18n_cote} :</span> {cote}<br />"+
|
| 129 |
" <span class='{css_label}'>{i18n_mere} :</span> {mere}<br />"+
|
129 |
" <span class='{css_label}'>{i18n_mere} :</span> {mere}<br />"+
|
| 130 |
" <span class='{css_label}'>{i18n_type_ncd} :</span> {type_ncd}<br />"+
|
130 |
" <span class='{css_label}'>{i18n_type_ncd} :</span> {type_ncd}<br />"+
|
| 131 |
" <span class='{css_label}'>{i18n_type_botanique} :</span> {type_botanique}<br />"+
|
- |
|
| 132 |
" <span class='{css_label}'>{i18n_type_depot} :</span> {type_depot}<br />"+
|
131 |
" <span class='{css_label}'>{i18n_type_depot} :</span> {type_depot}<br />"+
|
| 133 |
" <span class='{css_label}'>{i18n_nbre_echantillon} :</span> {nbre_echantillon}<br />"+
|
- |
|
| 134 |
" </div>"+
|
132 |
" </div>"+
|
| 135 |
" <div class='{css_fieldset}'>"+
|
133 |
" <div class='{css_fieldset}'>"+
|
| 136 |
" <h2>{i18n_general_collection_titre}</h2>"+
|
134 |
" <h2>{i18n_general_collection_titre}</h2>"+
|
| 137 |
" <span class='{css_label}'>{i18n_description} :</span> {description}<br />"+
|
135 |
" <span class='{css_label}'>{i18n_description} :</span> {description}<br />"+
|
| 138 |
" <span class='{css_label}'>{i18n_description_specialiste} :</span> {description_specialiste}<br />"+
|
136 |
" <span class='{css_label}'>{i18n_description_specialiste} :</span> {description_specialiste}<br />"+
|
| Line 168... |
Line 166... |
| 168 |
private void initialiserDescriptionTpl() {
|
166 |
private void initialiserDescriptionTpl() {
|
| 169 |
descriptionTpl =
|
167 |
descriptionTpl =
|
| 170 |
"<div class='{css_corps}'>"+
|
168 |
"<div class='{css_corps}'>"+
|
| 171 |
" <div class='{css_fieldset}'>"+
|
169 |
" <div class='{css_fieldset}'>"+
|
| 172 |
" <h2>{i18n_titre_description}</h2>"+
|
170 |
" <h2>{i18n_titre_description}</h2>"+
|
| - |
|
171 |
" <span class='{css_label}'>{i18n_type_botanique} :</span> {type_botanique}<br />"+
|
| - |
|
172 |
" <span class='{css_label}'>{i18n_nbre_echantillon} :</span> {nbre_echantillon}<br />"+
|
| 173 |
" </div>"+
|
173 |
" </div>"+
|
| 174 |
" <hr class='{css_clear}'/>"+
|
174 |
" <hr class='{css_clear}'/>"+
|
| 175 |
"</div>";
|
175 |
"</div>";
|
| 176 |
}
|
176 |
}
|
| Line 194... |
Line 194... |
| 194 |
" <hr class='{css_clear}'/>"+
|
194 |
" <hr class='{css_clear}'/>"+
|
| 195 |
"</div>";
|
195 |
"</div>";
|
| 196 |
}
|
196 |
}
|
| Line 197... |
Line 197... |
| 197 |
|
197 |
|
| 198 |
private void chargerOntologie() {
|
198 |
private void chargerOntologie() {
|
| 199 |
String[] listesCodes = {"typeCollectionBota", "typeCollectionNcd", "typeDepot"};
|
199 |
String[] listesCodes = {"typeCollectionBota", "typeCollectionNcd", "typeDepot", "groupementPrincipe", "realisationBut"};
|
| 200 |
lancerChargementListesValeurs(listesCodes);
|
200 |
lancerChargementListesValeurs(listesCodes);
|
| Line 201... |
Line 201... |
| 201 |
}
|
201 |
}
|
| 202 |
|
202 |
|
| Line 264... |
Line 264... |
| 264 |
generalParams.set("i18n_acronyme", i18nC.acronyme());
|
264 |
generalParams.set("i18n_acronyme", i18nC.acronyme());
|
| 265 |
generalParams.set("i18n_code", i18nC.code());
|
265 |
generalParams.set("i18n_code", i18nC.code());
|
| 266 |
generalParams.set("i18n_cote", i18nC.cote());
|
266 |
generalParams.set("i18n_cote", i18nC.cote());
|
| 267 |
generalParams.set("i18n_mere", i18nC.collectionMere());
|
267 |
generalParams.set("i18n_mere", i18nC.collectionMere());
|
| 268 |
generalParams.set("i18n_type_ncd", i18nC.typeCollectionNcd());
|
268 |
generalParams.set("i18n_type_ncd", i18nC.typeCollectionNcd());
|
| 269 |
generalParams.set("i18n_type_botanique", i18nC.typeCollectionBotanique());
|
- |
|
| 270 |
generalParams.set("i18n_type_depot", i18nC.typeDepot());
|
269 |
generalParams.set("i18n_type_depot", i18nC.typeDepot());
|
| 271 |
generalParams.set("i18n_nbre_echantillon", i18nC.nbreEchantillon());
|
- |
|
| Line 272... |
Line 270... |
| 272 |
|
270 |
|
| 273 |
generalParams.set("i18n_general_collection_titre", i18nC.collectionGeneralTitre());
|
271 |
generalParams.set("i18n_general_collection_titre", i18nC.collectionGeneralTitre());
|
| 274 |
generalParams.set("i18n_description", i18nC.description());
|
272 |
generalParams.set("i18n_description", i18nC.description());
|
| 275 |
generalParams.set("i18n_description_specialiste", i18nC.descriptionSpecialiste());
|
273 |
generalParams.set("i18n_description_specialiste", i18nC.descriptionSpecialiste());
|
| Line 281... |
Line 279... |
| 281 |
String acronyme = construireTxtTruck(collection.getIdAlternatif());
|
279 |
String acronyme = construireTxtTruck(collection.getIdAlternatif());
|
| 282 |
String code = construireTxtTruck(collection.getCode());
|
280 |
String code = construireTxtTruck(collection.getCode());
|
| 283 |
String nomAlternatif = construireTxtTruck(collection.getNomAlternatif());
|
281 |
String nomAlternatif = construireTxtTruck(collection.getNomAlternatif());
|
| 284 |
String urls = construireTxtTruck(collection.getUrls());
|
282 |
String urls = construireTxtTruck(collection.getUrls());
|
| 285 |
String typeNcd = construireTxtListeOntologie(collection.getTypeNcd());
|
283 |
String typeNcd = construireTxtListeOntologie(collection.getTypeNcd());
|
| 286 |
String typeBota = construireTxtListeOntologie(collection.getBotanique().getType());
|
- |
|
| 287 |
String typeDepot = construireTxtListeOntologie(collection.getTypeDepot());
|
284 |
String typeDepot = construireTxtListeOntologie(collection.getTypeDepot());
|
| - |
|
285 |
String groupementBut = construireTxtListeOntologie(collection.getGroupementBut());
|
| - |
|
286 |
String groupementPrincipe = construireTxtListeOntologie(collection.getGroupementPrincipe());
|
| Line 288... |
Line 287... |
| 288 |
|
287 |
|
| 289 |
generalParams.set("nom_alternatif", nomAlternatif);
|
288 |
generalParams.set("nom_alternatif", nomAlternatif);
|
| 290 |
generalParams.set("acronyme", acronyme);
|
289 |
generalParams.set("acronyme", acronyme);
|
| 291 |
generalParams.set("code", code);
|
290 |
generalParams.set("code", code);
|
| 292 |
generalParams.set("cote", collection.getCote());
|
291 |
generalParams.set("cote", collection.getCote());
|
| 293 |
generalParams.set("mere", collection.getCollectionMereNom());
|
292 |
generalParams.set("mere", collection.getCollectionMereNom());
|
| 294 |
generalParams.set("type_ncd", typeNcd);
|
- |
|
| 295 |
generalParams.set("type_botanique", typeBota);
|
293 |
generalParams.set("type_ncd", typeNcd);
|
| 296 |
generalParams.set("type_depot", typeDepot);
|
- |
|
| Line 297... |
Line 294... |
| 297 |
generalParams.set("nbre_echantillon", collection.getBotanique().getNbreEchantillon());
|
294 |
generalParams.set("type_depot", typeDepot);
|
| 298 |
|
295 |
|
| 299 |
generalParams.set("description", collection.getDescription());
|
296 |
generalParams.set("description", collection.getDescription());
|
| 300 |
generalParams.set("description_specialiste", collection.getDescriptionSpecialiste());
|
297 |
generalParams.set("description_specialiste", collection.getDescriptionSpecialiste());
|
| 301 |
generalParams.set("historique", collection.getHistorique());
|
298 |
generalParams.set("historique", collection.getHistorique());
|
| 302 |
generalParams.set("web", urls);
|
299 |
generalParams.set("web", urls);
|
| Line 303... |
Line 300... |
| 303 |
generalParams.set("groupement_principe", collection.getGroupementPrincipe());
|
300 |
generalParams.set("groupement_principe", groupementPrincipe);
|
| 304 |
generalParams.set("groupement_but", collection.getGroupementBut());
|
301 |
generalParams.set("groupement_but", groupementBut);
|
| Line 305... |
Line 302... |
| 305 |
|
302 |
|
| Line 321... |
Line 318... |
| 321 |
}
|
318 |
}
|
| Line 322... |
Line 319... |
| 322 |
|
319 |
|
| 323 |
private void afficherDescription() {
|
320 |
private void afficherDescription() {
|
| 324 |
Params descriptionParams = new Params();
|
321 |
Params descriptionParams = new Params();
|
| - |
|
322 |
descriptionParams.set("i18n_titre_description", i18nC.collectionDescriptionTitre());
|
| - |
|
323 |
descriptionParams.set("i18n_type_botanique", i18nC.typeCollectionBotanique());
|
| - |
|
324 |
descriptionParams.set("i18n_nbre_echantillon", i18nC.nbreEchantillon());
|
| - |
|
325 |
|
| - |
|
326 |
String typeBota = construireTxtListeOntologie(collection.getBotanique().getType());
|
| - |
|
327 |
|
| - |
|
328 |
descriptionParams.set("type_botanique", typeBota);
|
| Line 325... |
Line 329... |
| 325 |
descriptionParams.set("i18n_titre_description", i18nC.collectionDescriptionTitre());
|
329 |
descriptionParams.set("nbre_echantillon", collection.getBotanique().getNbreEchantillon());
|
| 326 |
|
330 |
|
| Line 327... |
Line 331... |
| 327 |
afficherOnglet(descriptionTpl, descriptionParams, descriptionOnglet);
|
331 |
afficherOnglet(descriptionTpl, descriptionParams, descriptionOnglet);
|