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 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

      public String getPageFullLink()
      Returns the page full link
      Returns:
      The page full link
    • setPageFullLink

      public void setPageFullLink(String strPageFullLink)
      Sets the page full link
      Parameters:
      strPageFullLink - The page full link