| java.lang.Object com.flexive.war.javascript.tree.ContentTreeWriter
ContentTreeWriter | public class ContentTreeWriter implements Serializable(Code) | | Renders the content tree for the current user, either in the live
or edit version.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 1 $ |
renderContentTree | public String renderContentTree(HttpServletRequest request, Long startNodeId, int maxDepth, boolean liveTree, boolean pathMode)(Code) | | Render the content tree beginning at the given node up to maxDepth levels deep.
To be called via JSON-RPC-Java.
Parameters: request - the current request, auto-variable set by JSON-RPC-Java Parameters: startNodeId - the start node for the content tree (1 or null to get the whole tree) Parameters: maxDepth - the maximum depth to be rendered Parameters: liveTree - true if the live tree should be rendered, false for the edit tree Parameters: pathMode - true if node labels should be paths instead of content captions the resulting tree |
|
|