Line 123... |
Line 123... |
123 |
"&cs_region=" + URL.encodeComponent(str.getRegion()) +
|
123 |
"&cs_region=" + URL.encodeComponent(str.getRegion()) +
|
124 |
"&cs_pays=" + URL.encodeComponent(str.getPays()) +
|
124 |
"&cs_pays=" + URL.encodeComponent(str.getPays()) +
|
125 |
"&cs_telephone=" + URL.encodeComponent(str.getTelephone()) +
|
125 |
"&cs_telephone=" + URL.encodeComponent(str.getTelephone()) +
|
126 |
"&cs_fax=" + URL.encodeComponent(str.getFax()) +
|
126 |
"&cs_fax=" + URL.encodeComponent(str.getFax()) +
|
127 |
"&cs_truk_url=" + URL.encodeComponent(str.getUrl()) +
|
127 |
"&cs_truk_url=" + URL.encodeComponent(str.getUrl()) +
|
128 |
"&cs_nbre_personne=" + URL.encodeComponent(Integer.toString(str.getNbrePersonne())) +
|
128 |
"&cs_nbre_personne=" + URL.encodeComponent(Integer.toString(str.getNbrePersonne()));
|
- |
|
129 |
if (conservation != null) {
|
129 |
"&csc_mark_formation=" + URL.encodeComponent(conservation.getFormation()) +
|
130 |
postDonnees += "&csc_mark_formation=" + URL.encodeComponent(conservation.getFormation()) +
|
130 |
"&csc_formation=" + URL.encodeComponent(conservation.getFormationInfo()) +
|
131 |
"&csc_formation=" + URL.encodeComponent(conservation.getFormationInfo()) +
|
131 |
"&csc_mark_formation_interet=" + URL.encodeComponent(conservation.getFormationInteret()) +
|
132 |
"&csc_mark_formation_interet=" + URL.encodeComponent(conservation.getFormationInteret()) +
|
132 |
"&csc_truk_stockage_local=" + URL.encodeComponent(conservation.getStockageLocal()) +
|
133 |
"&csc_truk_stockage_local=" + URL.encodeComponent(conservation.getStockageLocal()) +
|
133 |
"&csc_truk_stockage_meuble=" + URL.encodeComponent(conservation.getStockageMeuble()) +
|
134 |
"&csc_truk_stockage_meuble=" + URL.encodeComponent(conservation.getStockageMeuble()) +
|
134 |
"&csc_truk_stockage_parametre=" + URL.encodeComponent(conservation.getStockageParametre()) +
|
135 |
"&csc_truk_stockage_parametre=" + URL.encodeComponent(conservation.getStockageParametre()) +
|
Line 143... |
Line 144... |
143 |
"&csc_truk_traitement=" + URL.encodeComponent(conservation.getTraitements()) +
|
144 |
"&csc_truk_traitement=" + URL.encodeComponent(conservation.getTraitements()) +
|
144 |
"&csc_mark_acquisition_collection=" + URL.encodeComponent(conservation.getAcquisitionCollection()) +
|
145 |
"&csc_mark_acquisition_collection=" + URL.encodeComponent(conservation.getAcquisitionCollection()) +
|
145 |
"&csc_mark_acquisition_echantillon=" + URL.encodeComponent(conservation.getAcquisitionEchantillon()) +
|
146 |
"&csc_mark_acquisition_echantillon=" + URL.encodeComponent(conservation.getAcquisitionEchantillon()) +
|
146 |
"&csc_mark_acquisition_traitement=" + URL.encodeComponent(conservation.getAcquisitionTraitement()) +
|
147 |
"&csc_mark_acquisition_traitement=" + URL.encodeComponent(conservation.getAcquisitionTraitement()) +
|
147 |
"&csc_truk_acquisition_traitement_poison=" + URL.encodeComponent(conservation.getAcquisitionTraitementPoison()) +
|
148 |
"&csc_truk_acquisition_traitement_poison=" + URL.encodeComponent(conservation.getAcquisitionTraitementPoison()) +
|
148 |
"&csc_truk_acquisition_traitement_insecte=" + URL.encodeComponent(conservation.getAcquisitionTraitementInsecte()) +
|
149 |
"&csc_truk_acquisition_traitement_insecte=" + URL.encodeComponent(conservation.getAcquisitionTraitementInsecte());
|
- |
|
150 |
}
|
- |
|
151 |
if (valorisation != null) {
|
149 |
"&csv_mark_action=" + URL.encodeComponent(valorisation.getAction()) +
|
152 |
postDonnees += "&csv_mark_action=" + URL.encodeComponent(valorisation.getAction()) +
|
150 |
"&csv_truk_action=" + URL.encodeComponent(valorisation.getActionInfo()) +
|
153 |
"&csv_truk_action=" + URL.encodeComponent(valorisation.getActionInfo()) +
|
151 |
"&csv_publication=" + URL.encodeComponent(valorisation.getPublication()) +
|
154 |
"&csv_publication=" + URL.encodeComponent(valorisation.getPublication()) +
|
152 |
"&csv_collection_autre=" + URL.encodeComponent(valorisation.getCollectionAutre()) +
|
155 |
"&csv_collection_autre=" + URL.encodeComponent(valorisation.getCollectionAutre()) +
|
153 |
"&csv_mark_action_future=" + URL.encodeComponent(valorisation.getActionFuture()) +
|
156 |
"&csv_mark_action_future=" + URL.encodeComponent(valorisation.getActionFuture()) +
|
154 |
"&csv_action_future=" + URL.encodeComponent(valorisation.getActionFutureInfo()) +
|
157 |
"&csv_action_future=" + URL.encodeComponent(valorisation.getActionFutureInfo()) +
|
Line 156... |
Line 159... |
156 |
"&csv_truk_recherche_provenance=" + URL.encodeComponent(valorisation.getRechercheProvenance()) +
|
159 |
"&csv_truk_recherche_provenance=" + URL.encodeComponent(valorisation.getRechercheProvenance()) +
|
157 |
"&csv_truk_recherche_type=" + URL.encodeComponent(valorisation.getRechercheType()) +
|
160 |
"&csv_truk_recherche_type=" + URL.encodeComponent(valorisation.getRechercheType()) +
|
158 |
"&csv_mark_acces_ss_motif=" + URL.encodeComponent(valorisation.getAccesSansMotif()) +
|
161 |
"&csv_mark_acces_ss_motif=" + URL.encodeComponent(valorisation.getAccesSansMotif()) +
|
159 |
"&csv_acces_ss_motif=" + URL.encodeComponent(valorisation.getAccesSansMotifInfo()) +
|
162 |
"&csv_acces_ss_motif=" + URL.encodeComponent(valorisation.getAccesSansMotifInfo()) +
|
160 |
"&csv_mark_visite_avec_motif=" + URL.encodeComponent(valorisation.getVisiteAvecMotif()) +
|
163 |
"&csv_mark_visite_avec_motif=" + URL.encodeComponent(valorisation.getVisiteAvecMotif()) +
|
161 |
"&csv_visite_avec_motif=" + URL.encodeComponent(valorisation.getVisiteAvecMotifInfo()) +
|
164 |
"&csv_visite_avec_motif=" + URL.encodeComponent(valorisation.getVisiteAvecMotifInfo());
|
162 |
"";
|
165 |
}
|
Line 163... |
Line 166... |
163 |
|
166 |
|
164 |
try {
|
167 |
try {
|
Line 165... |
Line 168... |
165 |
rb.sendRequest(postDonnees, new RequestCallback() {
|
168 |
rb.sendRequest(postDonnees, new RequestCallback() {
|
Line 196... |
Line 199... |
196 |
GWT.log(url, null);
|
199 |
GWT.log(url, null);
|
197 |
if (response.getText().length() == 0) {
|
200 |
if (response.getText().length() == 0) {
|
198 |
GWT.log("\tLa réponse a une taille de 0", null);
|
201 |
GWT.log("\tLa réponse a une taille de 0", null);
|
199 |
}
|
202 |
}
|
200 |
if (response.getText() == null) {
|
203 |
if (response.getText() == null) {
|
201 |
GWT.log("\tLa réponse vaul null", null);
|
204 |
GWT.log("\tLa réponse vaut null", null);
|
202 |
}
|
205 |
}
|
203 |
}
|
206 |
}
|
204 |
}
|
207 |
}
|
205 |
}
|
208 |
}
|