Properties Methods Events Config Options Direct Link
Observable
  TreeLoader
    SlingTreeLoader

Class CQ.tree.SlingTreeLoader

Package:CQ.tree
Class:SlingTreeLoader
Extends:CQ.Ext.tree.TreeLoader
Clientlib:cq.widgets
A tree loader that uses the standard Sling json view of the repository to build an Ext tree.

Config Options

Config Options Defined By
  baseParams : Object
(optional) An object containing properties which specify HTTP parameters to be passed to each request for child nodes.
TreeLoader
  clearOnLoad : Boolean
(optional) Default to true. Remove previously existing child nodes before loading.
TreeLoader
  directFn : Function
Function to call when executing a request.
TreeLoader
  nameExcludes : Array
List of node names to exclude from being shown in the tree. Defaults to ["rep:policy"].
SlingTreeLoader
  path : String
Base repository path for the tree. Defaults to the root "/".
SlingTreeLoader
  preloadChildren : Boolean
If set to true, the loader recursively loads "children" attributes when doing the first load on nodes.
TreeLoader
  qtipProperty : String
Name of the JCR property that should be used as qtip for the node. Defaults to "jcr:description".
SlingTreeLoader
  titleProperty : String
Name of the JCR property that should be used as title for the node. Defaults to "jcr:title".
SlingTreeLoader
  typeExcludes : Array
List of node types and/or resource types to exclude from being shown in the tree.
SlingTreeLoader

Public Properties

This class has no public properties.

Public Methods

Method Defined By

Public Events

Event Defined By