Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1136 Rev 1218
Line 7... Line 7...
7
import org.tela_botanica.client.http.JsonRestRequestBuilder;
7
import org.tela_botanica.client.http.JsonRestRequestBuilder;
8
import org.tela_botanica.client.http.JsonRestRequestCallback;
8
import org.tela_botanica.client.http.JsonRestRequestCallback;
9
import org.tela_botanica.client.interfaces.Rafraichissable;
9
import org.tela_botanica.client.interfaces.Rafraichissable;
10
import org.tela_botanica.client.modeles.Information;
10
import org.tela_botanica.client.modeles.Information;
11
import org.tela_botanica.client.modeles.structure.StructureListe;
11
import org.tela_botanica.client.modeles.structure.StructureListe;
-
 
12
import org.tela_botanica.client.util.Debug;
12
import org.tela_botanica.client.util.UtilDAO;
13
import org.tela_botanica.client.util.UtilDAO;
Line 13... Line 14...
13
 
14
 
14
import com.extjs.gxt.ui.client.Registry;
15
import com.extjs.gxt.ui.client.Registry;
15
import com.google.gwt.core.client.GWT;
16
import com.google.gwt.core.client.GWT;
Line 79... Line 80...
79
 
80
 
80
	public void ajouter(Publication publication) {
81
	public void ajouter(Publication publication) {
Line 81... Line 82...
81
		String postDonneesEncodees = publication.obtenirChainePOST()+"&cmhl_ce_modifier_par="+utilisateurId;
82
		String postDonneesEncodees = publication.obtenirChainePOST()+"&cmhl_ce_modifier_par="+utilisateurId;
-
 
83
		
-
 
84
		final JsonRestRequestBuilder rb = UtilDAO.construireRequetePost(SERVICE_NOM);
-
 
85
		
82
		
86
Debug.log("|> PublicationAsyncDao.ajouter(Publication publication) : postDonneesEncodees="+postDonneesEncodees);
83
		final JsonRestRequestBuilder rb = UtilDAO.construireRequetePost(SERVICE_NOM);
87
 
84
		rb.envoyerRequete(postDonneesEncodees, new JsonRestRequestCallback() {
88
		rb.envoyerRequete(postDonneesEncodees, new JsonRestRequestCallback() {
85
			@Override
89
			@Override
86
			public void surReponse(JSONValue reponseValeur) {
90
			public void surReponse(JSONValue reponseValeur) {