@Controller(controllerJsp="TestForm.jsp",
controllerPath="jsp/admin/plugins/form",
right="FORM_MANAGEMENT")
public class TestFormJspBean
extends FormJspBean
| Modifier and Type | Field and Description |
|---|---|
protected static String |
TEST_FORM_CONTROLLER_JSP_NAME |
protected static String |
TEST_FORM_CONTROLLER_PATH |
protected static String |
TEST_FORM_CONTROLLER_RIGHT |
_nDefaultItemsPerPage, PARAMETER_ACTION_REDIRECT, PUBLICATION_MODE_AUTO, RIGHT_MANAGE_FORM| Constructor and Description |
|---|
TestFormJspBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanSession(javax.servlet.http.HttpSession session)
Clean the session, remove the response, the errors and the files attached to it
|
String |
doAddIteration(javax.servlet.http.HttpServletRequest request)
Add an iteration for the specified group and return the test form page
|
String |
doExportResponses(javax.servlet.http.HttpServletRequest request)
write in the http response the export file of all response submit who are save during the test.
|
String |
doRemoveIteration(javax.servlet.http.HttpServletRequest request)
Remove an iteration for the specified group and return the test form page
|
String |
doSubmitForm(javax.servlet.http.HttpServletRequest request)
if there is no error perform in session the response of the form else return the error
|
String |
getViewTestForm(javax.servlet.http.HttpServletRequest request)
Gets the form test page
|
String |
processController(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doCopyForm, doDisableAutoForm, doDisableForm, doDownloadFile, doEnableAutoForm, doEnableForm, doExportResult, doGenerateGraph, doManageOutputProcessor, doModifyEntryParameterDefaultValues, doModifyExportParameters, doModifyFormParameterDefaultValues, doModifyMessage, doModifyRecap, doRemoveForm, getConfirmDisableAutoForm, getConfirmDisableForm, getConfirmRemoveForm, getFormId, getJspManageForm, getJspManageOutputProcessForm, getJspManageValidator, getManageAdvancedParameters, getManageForm, getManageOutputProcessor, getManageValidator, getModifyMessage, getModifyRecap, getResult, setFormIdaddError, addError, addInfo, addInfo, addWarning, addWarning, download, download, fillCommons, getActionUrl, getControllerJsp, getControllerPath, getModel, getPage, getPage, getPage, getViewFullUrl, getViewUrl, redirect, redirect, redirect, redirect, redirectView, validateBeangetPlugin, initprotected static final String TEST_FORM_CONTROLLER_JSP_NAME
protected static final String TEST_FORM_CONTROLLER_PATH
protected static final String TEST_FORM_CONTROLLER_RIGHT
public String processController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
processController in class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBeanfr.paris.lutece.portal.service.admin.AccessDeniedException@View(value="testForm",
defaultView=true)
public String getViewTestForm(javax.servlet.http.HttpServletRequest request)
request - The HttpServletRequest@Action(value="addIteration") public String doAddIteration(javax.servlet.http.HttpServletRequest request)
request - The HttpServletRequest@Action(value="removeIteration") public String doRemoveIteration(javax.servlet.http.HttpServletRequest request)
request - The HttpServletRequest@Action(value="submitForm") public String doSubmitForm(javax.servlet.http.HttpServletRequest request)
request - The HttpServletRequest@Action(value="exportResponses") public String doExportResponses(javax.servlet.http.HttpServletRequest request)
request - the http requestresponse - The http responsepublic void cleanSession(javax.servlet.http.HttpSession session)
session - The HttpSession to cleanCopyright © 2018 City of Paris. All rights reserved.