com.raritantechnologies.verity.parametric.taglibrary
Class GetTreeTaxonomyView

java.lang.Object
  extended byBodyTagSupport
      extended bycom.raritantechnologies.verity.parametric.taglibrary.GetTreeTaxonomyView
All Implemented Interfaces:
IConfigurable, ICustomTag, ISearchElementRenderer

public class GetTreeTaxonomyView
extends BodyTagSupport
implements ICustomTag, ISearchElementRenderer

Custom JSP tag that wraps a Raritan Technologies Tree taxonomy renderer.


Developed by Raritan Technologies .

Author:
Chris Peterson
See Also:
Serialized Form

Constructor Summary
GetTreeTaxonomyView()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
 java.lang.String getBody(ISearchFormRenderer parent, RaritanPageContext pageContext)
          Returns the element html fragment.
 java.lang.String getBody(RaritanPageContext rpc)
          Returns the tag body.
 ISearchElementRenderer getRenderer(java.lang.String name)
          Returns ISearchElementRenderer of this render or a nested renderer matching the name given or null if no match is found.
 void initialize(org.w3c.dom.Element elem)
          Initialize renderer-specific parameters from the configuration XML tag.
 void initialize(java.util.Map initParams)
           
 boolean isHidden(ISearchFormRenderer parent, RaritanPageContext pageContext)
           
 void setBodyclass(java.lang.String bodyclass)
           
 void setEnable(boolean enabled)
          Enable/Disable the renderer.
 void setFieldname(java.lang.String fieldname)
           
 void setHeaderclass(java.lang.String headerclass)
           
 void setTarget(java.lang.String target)
           
 void setTitle(java.lang.String title)
           
 void setTitleclass(java.lang.String titleclass)
           
 void setUseConnector(java.lang.String useConnector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetTreeTaxonomyView

public GetTreeTaxonomyView()
Method Detail

setFieldname

public void setFieldname(java.lang.String fieldname)

setTitleclass

public void setTitleclass(java.lang.String titleclass)

setHeaderclass

public void setHeaderclass(java.lang.String headerclass)

setBodyclass

public void setBodyclass(java.lang.String bodyclass)

setTitle

public void setTitle(java.lang.String title)

setTarget

public void setTarget(java.lang.String target)

setUseConnector

public void setUseConnector(java.lang.String useConnector)

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

getBody

public java.lang.String getBody(RaritanPageContext rpc)
Description copied from interface: ICustomTag
Returns the tag body.

Specified by:
getBody in interface ICustomTag
Parameters:
rpc - Platform-neutral page context ( can be used in non J2EE environments such as ASP).
Returns:
The tag body text string.

doAfterBody

public int doAfterBody()
                throws JspException
Throws:
JspException

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: ISearchElementRenderer
Initialize renderer-specific parameters from the configuration XML tag.

Specified by:
initialize in interface IConfigurable

initialize

public void initialize(java.util.Map initParams)
Specified by:
initialize in interface ICustomTag

getBody

public java.lang.String getBody(ISearchFormRenderer parent,
                                RaritanPageContext pageContext)
Description copied from interface: ISearchElementRenderer
Returns the element html fragment.

Specified by:
getBody in interface ISearchElementRenderer

setEnable

public void setEnable(boolean enabled)
Description copied from interface: ISearchElementRenderer
Enable/Disable the renderer. Disabled renderers are not included in the html output of an ISearchFormRenderer.

Specified by:
setEnable in interface ISearchElementRenderer

getRenderer

public ISearchElementRenderer getRenderer(java.lang.String name)
Description copied from interface: ISearchElementRenderer
Returns ISearchElementRenderer of this render or a nested renderer matching the name given or null if no match is found.

Specified by:
getRenderer in interface ISearchElementRenderer

isHidden

public boolean isHidden(ISearchFormRenderer parent,
                        RaritanPageContext pageContext)
Specified by:
isHidden in interface ISearchElementRenderer