public class XHTMLNavigationHelper extends Object
Constructor and Description |
---|
XHTMLNavigationHelper() |
public static String getBreadcrumb(ContentContext ctx) throws Exception
Exception
public static String getBreadcrumb(ContentContext ctx, boolean displayRoot) throws Exception
Exception
public static String getBreadcrumbList(ContentContext ctx) throws Exception
Exception
public static String getBreadcrumbList(ContentContext ctx, boolean withRoot) throws Exception
Exception
public static final String getRSSHeader(ContentContext ctx, MenuElement page) throws Exception
Exception
public static boolean menuExist(ContentContext ctx, int level) throws Exception
Exception
public static String renderComboNavigation(ContentContext ctx, Collection<MenuElement> pages) throws Exception
Exception
public static String renderComboNavigation(ContentContext ctx, Collection<MenuElement> pages, String id, String currentPath, boolean filter) throws Exception
Exception
public static String renderComboNavigation(ContentContext ctx, MenuElement rootPage, String id, String currentValue, boolean filter) throws Exception
Exception
public static String renderDefinedMenu(ContentContext ctx, boolean onlyVisible, boolean moveIcon) throws Exception
Exception
public static String renderDefinedMenu(ContentContext ctx, String parentId, boolean onlyVisible) throws Exception
Exception
public static String renderDefinedMenu(ContentContext ctx, String parentId, boolean onlyVisible, boolean moveIcon) throws Exception
parentId
- the id of parent.Exception
public static String renderMenu(ContentContext ctx, int fromDepth, int toDepth) throws Exception
Exception
public static String renderMenu(ContentContext ctx, int fromDepth, int toDepth, boolean extended) throws Exception
Exception
public static String renderMenu(ContentContext ctx, MenuElement fromPage, int fromDepth, int toDepth) throws Exception
Exception
public static String renderMenu(ContentContext ctx, MenuElement fromPage, int fromDepth, int toDepth, boolean extended) throws Exception
Exception
public static String renderPageStructure(ContentContext ctx, MenuElement page) throws Exception
Exception
public static String renderSelectableBetweenMenu(ContentContext ctx, MenuElement menu, MenuElement value) throws Exception
Exception
public static String renderSelectableMenu(ContentContext ctx, MenuElement menu, List<MenuElement> values) throws Exception
Exception
public static String renderSelectableMenu(ContentContext ctx, MenuElement menu, MenuElement value) throws Exception
Exception
Copyright © 2012-2018. All Rights Reserved.