Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 690 Rev 971
Line 43... Line 43...
43
	@SuppressWarnings("unused")
43
	@SuppressWarnings("unused")
44
	public static void appelerUploadSimple() {
44
	public static void appelerUploadSimple() {
Line 45... Line 45...
45
 
45
 
46
		UploadDialog up = new UploadDialog("Upload simple de fichiers");
46
		UploadDialog up = new UploadDialog("Upload simple de fichiers");
47
		up.setUrl(Configuration.getServiceBaseUrl() + "/InventoryImage");
47
		up.setUrl(Configuration.getServiceBaseUrl() + "/InventoryImage");
48
		UrlParam id = new UrlParam("identifiant", iModele.getIdentifiant());
48
		UrlParam id = new UrlParam("ce_utilisateur",Utilisateur.getInstance().getIdentifiantUtilisateurConsulte());
49
		UrlParam[] params = { id };
49
		UrlParam[] params = { id };
50
		up.setBaseParams(params);
50
		up.setBaseParams(params);
Line 51... Line 51...
51
		up.setModal(true);
51
		up.setModal(true);
Line 102... Line 102...
102
				+ paramFilesPerRequest + paramAllowedExtensions
102
				+ paramFilesPerRequest + paramAllowedExtensions
103
				+ paramUploadSuccess + paramShowLogWindow + paramFormdata
103
				+ paramUploadSuccess + paramShowLogWindow + paramFormdata
104
				+ finApplet;
104
				+ finApplet;
Line 105... Line 105...
105
 
105
 
106
		final String htmlForm = "<form method=\"post\" name=\"postid\">"
106
		final String htmlForm = "<form method=\"post\" name=\"postid\">"
107
				+ "<input type=\"hidden\" name=\"identifiant\" value=\""
107
				+ "<input type=\"hidden\" name=\"ce_utilisateur\" value=\""
Line 108... Line 108...
108
				+ iModele.getIdentifiant() + "\">" + "</form>";
108
				+ Utilisateur.getInstance().getIdentifiantUtilisateurConsulte() + "\">" + "</form>";
Line 109... Line 109...
109
 
109