public final class CmsHelpNavigationListView
extends java.lang.Object
CmsJspNavBuilder. This is a simpler facade to a fixed html - list based layout. Only a navigation root path and a desired depth have to be set. It is not specific to the online help.
| 构造器和说明 |
|---|
CmsHelpNavigationListView(CmsJspActionElement jsp)
Creates a
CmsNaviationListView which uses the given
CmsJspActionElement for accessing the underlying
navigation API. |
CmsHelpNavigationListView(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a
CmsNaviationListView which creates a
CmsJspActionElement for accessing the underlying
navigation API with the given arguments . |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
createNavigation()
Returns a string containing the navigation created by using the internal members.
|
int |
getDepth()
Returns the depth in levels of the navigation.
|
java.lang.String |
getSiteRootPath()
Returns the navigation root path of the navigation to generate a view for.
|
void |
setDepth(int depth)
Set the depth in level of the navigation to generate a view for.
|
void |
setNavigationRootPath(java.lang.String navRootPath)
Set the navigation root path of the navigation to generate a view for.
|
public CmsHelpNavigationListView(CmsJspActionElement jsp)
CmsNaviationListView which uses the given
CmsJspActionElement for accessing the underlying
navigation API. jsp - the CmsJspActionElement to usepublic CmsHelpNavigationListView(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
CmsNaviationListView which creates a
CmsJspActionElement for accessing the underlying
navigation API with the given arguments . context - the PageContext to userequest - the HttpServletRequest to useresponse - the HttpServletResponse to usepublic java.lang.String createNavigation()
The navigation is a nested html list.
public int getDepth()
public java.lang.String getSiteRootPath()
public void setDepth(int depth)
depth - the depth in level of the navigation to generate a view for to setpublic void setNavigationRootPath(java.lang.String navRootPath)
The navigation will start there.
navRootPath - the navigation root path of the navigation to generate a view for to set