com.raritantechnologies.eCommerceAdmin
Class DBTaxonomyTreeRenderer
java.lang.Object
com.raritantechnologies.eCommerceAdmin.DBTaxonomyTreeRenderer
- All Implemented Interfaces:
- IConfigurable, ICustomTag, IECommerceRenderer
- public class DBTaxonomyTreeRenderer
- extends java.lang.Object
- implements IECommerceRenderer
Renderer for an eCommerce DBTaxonomyTree.
XML Configuration Template:
<ECommerceRenderer class="com.raritantechnologies.eCommerceAdmin.DBTaxonomyTreeRenderer"
showLinks="true|false"
showItems="true|false"
nodeClass="[ node cssClass ]"
defaultTaxId="[ tax id of root node ]" />
Developed by
Raritan Technologies Inc..
- Author:
- Alan Connell
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBTaxonomyTreeRenderer
public DBTaxonomyTreeRenderer()
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IECommerceRenderer
initialize
public void initialize(java.util.Map initParams)
- Specified by:
initialize in interface ICustomTag
getRequestParameters
public java.util.ArrayList getRequestParameters()
- Specified by:
getRequestParameters in interface IECommerceRenderer
getBody
public java.lang.String getBody(RaritanPageContext rpc)
- Description copied from interface:
ICustomTag
- Returns the tag body.
- Specified by:
getBody in interface IECommerceRenderer
setEnable
public void setEnable(boolean enabled)
getTaxonomySelect
public java.lang.String getTaxonomySelect(java.lang.String cssClass,
java.lang.String script,
java.lang.String name)
getTaxIdFromLabel
public static java.lang.String getTaxIdFromLabel(java.lang.String taxLabel,
boolean isRoot)
getTaxLabelFromId
public static java.lang.String getTaxLabelFromId(java.lang.String taxId)