com.raritantechnologies.searchApp.taglibrary
Class DisplayModule
java.lang.Object
BodyTagSupport
com.raritantechnologies.searchApp.taglibrary.DisplayModule
- public class DisplayModule
- extends BodyTagSupport
JSP Custom tag that provides a javascript <div> tag selectable (show/hide) display module
for nested JSP custom tags.
Optional activate parameter can be used to switch a <div> tag based on an HTTP request parameter=value pair.
The parameter supports multiple parameters. Syntax:
activateParameter="[param1=value1,value2|param2=value3,value4]"
JSP Custom Tag Template:
<results:module moduleId="[ unique ID for this module ]"
headerClass="[ css class of header ]"
openImg="[ image for open state button ]"
closeImg="[ image for close button ]"
title="[ title of header ]"
initialState="[ open|closed ]"
activateParameter="[ param = match value(s) if more than one, separate values with ',' character. The value 'NOT_NULL' matches any value. ]"
styleSettings="[ additional style settings (exclude display setting ) ]" >
<!-- html that will be enclosed by this module -->
</results:module>
Developed by
Raritan Technologies Inc..
- Author:
- Alan Connell
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_MODULE_DISPLAY
public static final java.lang.String NO_MODULE_DISPLAY
- See Also:
- Constant Field Values
DisplayModule
public DisplayModule()
setModuleId
public void setModuleId(java.lang.String id)
setTitle
public void setTitle(java.lang.String title)
setHeaderClass
public void setHeaderClass(java.lang.String headerClass)
setDivClass
public void setDivClass(java.lang.String divClass)
setWidth
public void setWidth(java.lang.String width)
setOpenImg
public void setOpenImg(java.lang.String openImg)
setCloseImg
public void setCloseImg(java.lang.String closeImg)
setInitialState
public void setInitialState(java.lang.String initialState)
setActivateParameter
public void setActivateParameter(java.lang.String activateParameter)
setStyleSettings
public void setStyleSettings(java.lang.String styleSettings)
doStartTag
public int doStartTag()
throws JspException
- Throws:
JspException
doAfterBody
public int doAfterBody()
doEndTag
public int doEndTag()
throws JspException
- Throws:
JspException