Class XPageTreeMenuPages
java.lang.Object
fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
fr.paris.lutece.plugins.menus.web.XPageTreeMenuPages
- All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication,Serializable
@RequestScoped
@Named("menus.xpage.treemenupages")
@Controller(xpageName="treemenupages",
pageTitleI18nKey="menus.xpage.treemenupages.pageTitle",
pagePathI18nKey="menus.xpage.treemenupages.pagePath")
public class XPageTreeMenuPages
extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
Xpage dedicated to tree menu all pages json Endpoint
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNodegetMenuTree(jakarta.servlet.http.HttpServletRequest request) Generate result of json endpointReturns the page full linkvoidsetPageFullLink(String strPageFullLink) Sets the page full linkMethods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
getPage, getRealClass
-
Constructor Details
-
XPageTreeMenuPages
public XPageTreeMenuPages()
-
-
Method Details
-
getMenuTree
@ResponseBody @Action("menutree") public com.fasterxml.jackson.databind.node.ObjectNode getMenuTree(jakarta.servlet.http.HttpServletRequest request) Generate result of json endpoint- Parameters:
request- The Http request- Returns:
- tree menu all pages in json format
-
getPageFullLink
Returns the page full link- Returns:
- The page full link
-
setPageFullLink
Sets the page full link- Parameters:
strPageFullLink- The page full link
-