public class TreeHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TreeHelper.WSTreeMemo
When displaying a WSTree, a WSTreeMemo object is created and placed as AjaxRequestAttribute with the
key AJAXATTRIBUTEKEY_WSTREEMEMO.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AJAXATTRIBUTEKEY_WSTREEMEMO
The key of the parent workspace in the request, as attribute or parameter.
|
static java.lang.String |
REVISION |
Constructor and Description |
---|
TreeHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
printWorkspacesTree(Workspace mbrWorkspace,
boolean showGroups,
java.lang.String groupParamName,
javax.servlet.jsp.JspWriter out,
java.lang.String userLang,
JcmsJspContext context,
Member loggedMember)
Print a navigation tree for group split by workspaces (except if a workspace is provided).
|
static void |
printWSNodeContent(Workspace workspace,
TreeHelper.WSTreeMemo treeMemo,
JcmsJspContext context,
javax.servlet.jsp.JspWriter out,
boolean open) |
public static java.lang.String AJAXATTRIBUTEKEY_WSTREEMEMO
public static final java.lang.String REVISION
public static void printWorkspacesTree(Workspace mbrWorkspace, boolean showGroups, java.lang.String groupParamName, javax.servlet.jsp.JspWriter out, java.lang.String userLang, JcmsJspContext context, Member loggedMember) throws java.io.IOException
mbrWorkspace
- the workspace.groupParamName
- the HTTP parameter used to filter on a given parent group.out
- the JSP output stream.userLang
- the user language.context
- the context.showGroups
- loggedMember
- java.io.IOException
public static void printWSNodeContent(Workspace workspace, TreeHelper.WSTreeMemo treeMemo, JcmsJspContext context, javax.servlet.jsp.JspWriter out, boolean open) throws java.io.IOException
java.io.IOException
Copyright © 2001-2010 Jalios SA. All Rights Reserved.