From 5993675e1fc7507c3b36d73707e7ecfca64588be Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Fri, 23 Sep 2011 14:56:01 +0000 Subject: Parallel to the new design of the user interface some signature parameter was added/changed to take into account the changes of signupload.jsp. But with the new user interface this Servlet is not used anymore. With the old version this Servlet was used when form fields changed and the page has to be reloaded. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@807 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../src/main/java/at/gv/egiz/pdfas/web/servlets/UpdateFormServlet.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdf-as-web/src/main/java') diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UpdateFormServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UpdateFormServlet.java index bf222f8..e38c10f 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UpdateFormServlet.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UpdateFormServlet.java @@ -55,7 +55,8 @@ public class UpdateFormServlet extends HttpServlet { String type = request.getParameter(FormFields.FIELD_SIGNATURE_TYPE); String pdfa = request.getParameter(FormFields.FIELD_PDFA_ENABLED); String source = request.getParameter(FormFields.FIELD_SOURCE); - String freeText = request.getParameter(FormFields.FIELD_FREETEXT); + String freeText = request.getParameter(FormFields.FIELD_SOURCE_FREETEXT); + String file = request.getParameter(FormFields.FIELD_SOURCE_FILE); HttpSession session = request.getSession(); session.setAttribute(UPLOADFORM_SIGNATURE_DEVICE_KEY, device); -- cgit v1.2.3