Class FormControlJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.forms.web.admin.AbstractJspBean
fr.paris.lutece.plugins.forms.web.admin.FormControlJspBean
- All Implemented Interfaces:
Serializable
@SessionScoped
@Named
@Controller(controllerJsp="ManageControls.jsp",
controllerPath="jsp/admin/plugins/forms/",
right="FORMS_MANAGEMENT",
securityTokenEnabled=true)
public class FormControlJspBean
extends AbstractJspBean
This class provides the user interface to manage Form controls ( manage, create, modify, remove )
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoModifyControl(jakarta.servlet.http.HttpServletRequest request) Process the data modification of a controldoRemoveControl(jakarta.servlet.http.HttpServletRequest request) Handles the removal of a TransitiongetConfirmRemoveControl(jakarta.servlet.http.HttpServletRequest request) Manages the removal form of a Control whose identifier is in the http requestgetManageConditionControl(jakarta.servlet.http.HttpServletRequest request) display the Manage Condition Control ViewgetManageControl(jakarta.servlet.http.HttpServletRequest request) Build the Manage ViewgetModifyConditionControl(jakarta.servlet.http.HttpServletRequest request) getModifyControl(jakarta.servlet.http.HttpServletRequest request) Returns the form to modify a controlgetReturnUrl(jakarta.servlet.http.HttpServletRequest request) Manages the removal form of a Control whose identifier is in the http requestprocessController(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) The user must be allowed to modify every form referenced by the request, whatever the view or actionMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Constructor Details
-
FormControlJspBean
public FormControlJspBean()
-
-
Method Details
-
processController
public String processController(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws fr.paris.lutece.portal.service.admin.AccessDeniedException The user must be allowed to modify every form referenced by the request, whatever the view or action- Overrides:
processControllerin classfr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getManageControl
@View(value="manageControl", defaultView=true) public String getManageControl(jakarta.servlet.http.HttpServletRequest request) Build the Manage View- Parameters:
request- The HTTP request- Returns:
- The page
-
getManageConditionControl
@View(value="manageConditionControl", defaultView=true) public String getManageConditionControl(jakarta.servlet.http.HttpServletRequest request) display the Manage Condition Control View- Parameters:
request- The HTTP request- Returns:
- The page
-
getModifyConditionControl
@View(value="modifyConditionControl", securityTokenAction="modifyControl") public String getModifyConditionControl(jakarta.servlet.http.HttpServletRequest request) -
getModifyControl
@View("modifyControl") public String getModifyControl(jakarta.servlet.http.HttpServletRequest request) Returns the form to modify a control- Parameters:
request- The Http request- Returns:
- the html code of the control form
-
doModifyControl
@Action("modifyControl") public String doModifyControl(jakarta.servlet.http.HttpServletRequest request) Process the data modification of a control- Parameters:
request- The Http Request- Returns:
- The Jsp URL of the process result
-
getConfirmRemoveControl
@View(value="confirmRemoveControl", securityTokenAction="removeControl") public String getConfirmRemoveControl(jakarta.servlet.http.HttpServletRequest request) Manages the removal form of a Control whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
doRemoveControl
@Action("removeControl") public String doRemoveControl(jakarta.servlet.http.HttpServletRequest request) Handles the removal of a Transition- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage Transition
-
getReturnUrl
@Action("cancelAndReturn") public String getReturnUrl(jakarta.servlet.http.HttpServletRequest request) Manages the removal form of a Control whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-