com.raritantechnologies.quickstart.taglibrary.forms
Class ResultFieldDisplayHyperlinkRenderer
java.lang.Object
com.raritantechnologies.quickstart.taglibrary.forms.ResultFieldDisplayCheckboxRenderer
com.raritantechnologies.quickstart.taglibrary.forms.ResultFieldDisplayHyperlinkRenderer
- All Implemented Interfaces:
- IConfigurable, IDisplayControlRenderer
- public class ResultFieldDisplayHyperlinkRenderer
- extends ResultFieldDisplayCheckboxRenderer
Provides a hyperlink control to turn an IResult field
display on/off for all results in a result DisplayForm.
XML Configuration Template:
<DisplayControlRenderer rendererClass="com.raritantechnologies.quickstart.taglibrary.forms.ResultFieldDisplayHyperlinkRenderer"
displayForm="[ Associated display form name ]"
showLabel="[ hyperlink label to be shown when field is disabled ]"
hideLabel="[ hyperlink label to be shown when field is enabled ]"
activeClass="the CSS Class"
inactiveClass="the inactive class" >
<Field ID="[result Field To Control ]" label="[ hyperlink Label]" />
</DisplayControlRenderer>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
| Methods inherited from class com.raritantechnologies.quickstart.taglibrary.forms.ResultFieldDisplayCheckboxRenderer |
enableAllRenderers, getBody, getCssClass, getDisabledRenderers, getEnabledRenderers, getFieldLabels, getFieldNames, getHideLabel, getLabel, getRendererState, getShowLabel, setCssClass, setFieldLabels, setFieldNames, setHideLabel, setLabel, setShowLabel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultFieldDisplayHyperlinkRenderer
public ResultFieldDisplayHyperlinkRenderer()
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 IDisplayControlRenderer- Overrides:
initialize in class ResultFieldDisplayCheckboxRenderer
initialize
public void initialize(java.util.Map paramMap)
- Specified by:
initialize in interface IDisplayControlRenderer- Overrides:
initialize in class ResultFieldDisplayCheckboxRenderer
doGetBody
protected java.lang.String doGetBody(IDisplayFormRenderer parent,
java.lang.String displayForm,
RaritanPageContext pageContext)
- Overrides:
doGetBody in class ResultFieldDisplayCheckboxRenderer
setSeparator
public void setSeparator(java.lang.String separator)
getSeparator
public java.lang.String getSeparator()
setActiveClass
public void setActiveClass(java.lang.String activeClass)
getActiveClass
public java.lang.String getActiveClass()
setInactiveClass
public void setInactiveClass(java.lang.String inactiveClass)
getInactiveClass
public java.lang.String getInactiveClass()
getConfigurationXML
public java.lang.String getConfigurationXML()
- Overrides:
getConfigurationXML in class ResultFieldDisplayCheckboxRenderer