Subversion Repositories eFlore/Applications.del

Rev

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

Rev 836 Rev 840
Line 27... Line 27...
27
		String idProposition = voteDetermination.getPropositionDetermination().getId();
27
		String idProposition = voteDetermination.getPropositionDetermination().getId();
Line 28... Line 28...
28
		
28
		
29
		String urlService = baseUrl+"observations/"+idObservation+"/"+idProposition+"/vote/";
29
		String urlService = baseUrl+"observations/"+idObservation+"/"+idProposition+"/vote/";
Line 30... Line -...
30
		RequestBuilder rb = new RequestBuilder(RequestBuilder.PUT, urlService);
-
 
31
		
30
		RequestBuilder rb = new RequestBuilder(RequestBuilder.PUT, urlService);
32
		Window.alert("Ajout :"+urlService);
31
		
33
		/*callback.setMode(ModeRequete.AJOUT);
32
		/*callback.setMode(ModeRequete.AJOUT);
34
		String chainePost = assemblerChaineRequeteAjoutModif(voteDetermination);
33
		String chainePost = assemblerChaineRequeteAjoutModif(voteDetermination);
35
		try {
34
		try {
Line 45... Line 44...
45
		String idProposition = voteDetermination.getPropositionDetermination().getId();
44
		String idProposition = voteDetermination.getPropositionDetermination().getId();
Line 46... Line 45...
46
		
45
		
47
		String urlService = baseUrl+"observations/"+idObservation+"/"+idProposition+"/vote/";
46
		String urlService = baseUrl+"observations/"+idObservation+"/"+idProposition+"/vote/";
Line 48... Line -...
48
		RequestBuilder rb = new RequestBuilder(RequestBuilder.POST, urlService);
-
 
49
		
47
		RequestBuilder rb = new RequestBuilder(RequestBuilder.POST, urlService);
50
		Window.alert("Ajout :"+urlService);
48
		
51
		/*callback.setMode(ModeRequete.MODIFICATION);
49
		/*callback.setMode(ModeRequete.MODIFICATION);
52
		String chainePost = assemblerChaineRequeteAjoutModif(voteDetermination);
50
		String chainePost = assemblerChaineRequeteAjoutModif(voteDetermination);
53
		try {
51
		try {