fr.paris.lutece.plugins.menus.web
Class TreeMenuPageInclude

java.lang.Object
  extended by 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


Constructor Summary
TreeMenuPageInclude()
           
 
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
 

Constructor Detail

TreeMenuPageInclude

public TreeMenuPageInclude()
Method Detail

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 substitute
data - A PageData object containing applications data
nMode - The current mode
request - 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 id
nMode - the mode id
request - 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.