You are here: Home > DAM > DAM Products > Category Tree Pro

Category Tree Pro

A Web Publisher category tree on steroids! Allows all sorts of control over category presentation through Web Publisher Pro including tree depth, hiding private categories, pre-expanding nodes and delivering user-specific category configurations to your WPP users.

Some of the attributes of the Category Tree Pro:

useAnchors 

Set this to 'true' to have anchors added to the generated HTML, to keep the last expanded or collapsed node visible in the browser.

 showCatalogs Set this to 'true' to have the catalogs displayed as part of the category tree.
 rootCategory You can use this to select a category to act as the root of the displayed tree, rather than the default which is to use the catalogs as the tree roots.
 showRootCategory Set this to 'true' to display the root category (selected with the 'rootCategory' attribute) as part of the category tree.
 maxDepth You can use this attribute to limit the depth of node expansion allowed in the category tree.
 hideRegex Normally, categories whose names begin with a period ('.') are considered to be hidden - they will be ignored by the category tree taglib, along with all their subcategories. This attribute allows you to override this behaviour by specifying a Java regular expression to indicate the categories you want to hide.
 hideSubcategoriesRegexThis works similarly to hideRegex, except that it hides subcategories of a category whose name matches. There is no default value for this attribute.
skipRegex Categories whose names begin with a dollar sign ('$') are normally skipped by the category tree taglib - that is, they are not included as a separate level in the tree, and the taglib skips directly down to the next level. This attribute allows you to override this behaviour by specifying a Java regular expression to indicate the categories you want to skip.
 showRegexUserField You can use this to specify exceptions to the categories hidden by the hideRegex and skipRegex attributes (or their default settings). This attribute names a field which is extracted from the user record for the currently logged on user.
 skipAllSubcategoriesRegexThis causes all the subcategories (not just immediate subcategories) of matching category names to be skipped.
 id If you need more than one instance of the category tree in a session, then this optional attribute can be used to identify each instance. Each tree will then have its own state, avoiding unwanted interaction between instances.