Class FormCategoriesJspBean
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.FormCategoriesJspBean
- All Implemented Interfaces:
Serializable
@RequestScoped
@Named
@Controller(controllerJsp="ManageFormsCategories.jsp",
controllerPath="jsp/admin/plugins/forms/",
right="FORMS_CATEGORIES",
securityTokenEnabled=true)
public class FormCategoriesJspBean
extends AbstractJspBean
This class provides the user interface to manage FormCategory features ( manage, create, modify, remove )
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateCategory(jakarta.servlet.http.HttpServletRequest request) Process the data capture form of a new formCategorydoModifyCategory(jakarta.servlet.http.HttpServletRequest request) Modify a categorydoRemoveCategory(jakarta.servlet.http.HttpServletRequest request) Remove the category selectedgetConfirmRemoveCategory(jakarta.servlet.http.HttpServletRequest request) Display a popup to ask the user if he really wants to delete the category he selectedgetCreateCategory(jakarta.servlet.http.HttpServletRequest request) Returns the form to create a formCategorygetManageCategories(jakarta.servlet.http.HttpServletRequest request) Build the Manage ViewgetModifyCategory(jakarta.servlet.http.HttpServletRequest request) Get the view to modify an existed categoryMethods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processControllerMethods 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
-
FormCategoriesJspBean
public FormCategoriesJspBean()
-
-
Method Details
-
getManageCategories
@View(value="manageCategories", defaultView=true) public String getManageCategories(jakarta.servlet.http.HttpServletRequest request) Build the Manage View- Parameters:
request- The HTTP request- Returns:
- The page
-
getCreateCategory
@View("createCategory") public String getCreateCategory(jakarta.servlet.http.HttpServletRequest request) Returns the form to create a formCategory- Parameters:
request- The Http request- Returns:
- the html code of the formCategory form
-
doCreateCategory
@Action("createCategory") public String doCreateCategory(jakarta.servlet.http.HttpServletRequest request) Process the data capture form of a new formCategory- Parameters:
request- The Http Request- Returns:
- The Jsp URL of the process result
-
doRemoveCategory
@Action("removeCategory") public String doRemoveCategory(jakarta.servlet.http.HttpServletRequest request) Remove the category selected- Parameters:
request- the request- Returns:
- The JSP URL of the process result
-
getConfirmRemoveCategory
@Action(value="confirmRemoveCategory", securityTokenAction="removeCategory") public String getConfirmRemoveCategory(jakarta.servlet.http.HttpServletRequest request) Display a popup to ask the user if he really wants to delete the category he selected- Parameters:
request- the request- Returns:
- the HTML code to confirm
-
getModifyCategory
@View("modifyCategory") public String getModifyCategory(jakarta.servlet.http.HttpServletRequest request) Get the view to modify an existed category- Parameters:
request- the request- Returns:
- The HTML content to display
-
doModifyCategory
@Action("modifyCategory") public String doModifyCategory(jakarta.servlet.http.HttpServletRequest request) Modify a category- Parameters:
request- the request- Returns:
- The JSP URL of the process result
-