fr.paris.lutece.plugins.menus.web
Class TreeMenuPageInclude
java.lang.Object
fr.paris.lutece.plugins.menus.web.TreeMenuPageInclude
- All Implemented Interfaces:
- fr.paris.lutece.portal.service.includes.PageInclude
public class TreeMenuPageInclude
- extends java.lang.Object
- implements fr.paris.lutece.portal.service.includes.PageInclude
This class provides the list of the page associated by the main menu of the site
Method Summary |
void |
fillTemplate(java.util.Map<java.lang.String,java.lang.Object> rootModel,
fr.paris.lutece.portal.service.content.PageData data,
int nMode,
javax.servlet.http.HttpServletRequest request)
Substitue specific Freemarker markers in the page template. |
java.lang.String |
getTreeMenuPage(int nIdPage,
int nMode,
Menus menus,
javax.servlet.http.HttpServletRequest request)
Builds the tree menu bar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeMenuPageInclude
public TreeMenuPageInclude()
fillTemplate
public void fillTemplate(java.util.Map<java.lang.String,java.lang.Object> rootModel,
fr.paris.lutece.portal.service.content.PageData data,
int nMode,
javax.servlet.http.HttpServletRequest request)
- Substitue specific Freemarker markers in the page template.
- Specified by:
fillTemplate
in interface fr.paris.lutece.portal.service.includes.PageInclude
- Parameters:
rootModel
- the HashMap containing markers to substitutedata
- A PageData object containing applications datanMode
- The current moderequest
- The HTTP request
getTreeMenuPage
public java.lang.String getTreeMenuPage(int nIdPage,
int nMode,
Menus menus,
javax.servlet.http.HttpServletRequest request)
- Builds the tree menu bar
- 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
Copyright © 2011 Mairie de Paris. All Rights Reserved.