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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doModifyControl(jakarta.servlet.http.HttpServletRequest request)
    Process the data modification of a control
    doRemoveControl(jakarta.servlet.http.HttpServletRequest request)
    Handles the removal of a Transition
    getConfirmRemoveControl(jakarta.servlet.http.HttpServletRequest request)
    Manages the removal form of a Control whose identifier is in the http request
    getManageConditionControl(jakarta.servlet.http.HttpServletRequest request)
    display the Manage Condition Control View
    getManageControl(jakarta.servlet.http.HttpServletRequest request)
    Build the Manage View
    getModifyConditionControl(jakarta.servlet.http.HttpServletRequest request)
     
    getModifyControl(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to modify a control
    getReturnUrl(jakarta.servlet.http.HttpServletRequest request)
    Manages the removal form of a Control whose identifier is in the http request

    Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean

    processController

    Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

    getPlugin, init

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FormControlJspBean

      public FormControlJspBean()
  • Method Details

    • 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