Class TreeMenuInclude
java.lang.Object
fr.paris.lutece.portal.web.includes.TreeMenuInclude
- All Implemented Interfaces:
PageInclude
This class provides the list of the page associated by the main menu of the site
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildTreeMenuContentTemplate(int nIdPage, int nMode, jakarta.servlet.http.HttpServletRequest request) Builds the tree menu bar through freemarker templatebuildTreeMenuContentXsl(int nIdPage, int nMode, jakarta.servlet.http.HttpServletRequest request) Builds the tree menu bar through XSL stylesheetvoidfillTemplate(Map<String, Object> rootModel, PageData data, int nMode, jakarta.servlet.http.HttpServletRequest request) Substitue specific Freemarker markers in the page template.
-
Constructor Details
-
TreeMenuInclude
public TreeMenuInclude()
-
-
Method Details
-
fillTemplate
public void fillTemplate(Map<String, Object> rootModel, PageData data, int nMode, jakarta.servlet.http.HttpServletRequest request) Substitue specific Freemarker markers in the page template.- Specified by:
fillTemplatein interfacePageInclude- Parameters:
rootModel- the HashMap containing markers to substitutedata- A PageData object containing applications datanMode- The current moderequest- The HTTP request
-
buildTreeMenuContentXsl
public String buildTreeMenuContentXsl(int nIdPage, int nMode, jakarta.servlet.http.HttpServletRequest request) Builds the tree menu bar through XSL stylesheet- Parameters:
nIdPage- The page idnMode- the mode idrequest- The HttpServletRequest- Returns:
- The list of the tree menus layed out with the stylesheet of the mode
-
buildTreeMenuContentTemplate
public String buildTreeMenuContentTemplate(int nIdPage, int nMode, jakarta.servlet.http.HttpServletRequest request) Builds the tree menu bar through freemarker template- Parameters:
nIdPage- The page idnMode- the mode idrequest- The HttpServletRequest- Returns:
- The list of the tree menus layed out with the stylesheet of the mode
-