|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.cc.framework.taglib.ScriptTagSupport
com.cc.framework.taglib.controls.BaseControlTag
com.cc.framework.taglib.controls.CheckboxGroupTag
Tag-Handler for the CheckboxGroupTag
| Field Summary | |
private javax.servlet.jsp.tagext.BodyContent |
bodyContent
The Body Content of the Tag |
private static long |
serialVersionUID
Serial Version UID |
| Fields inherited from class com.cc.framework.taglib.controls.BaseControlTag |
log |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
CheckboxGroupTag()
Constructor |
|
| Method Summary | |
int |
doAfterBody()
|
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
void |
doInitBody()
|
protected CheckboxGroupDesignModel |
getCheckboxGroupDesignModel()
Returns a casted version of the ControlDesignModel |
protected CheckboxGroupControl |
getCtrl()
Retrieves the current Control instance |
OptionsComparator |
getOptionsComparator()
Returns an option comparator for this control |
void |
release()
|
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent b)
|
void |
setColumns(java.lang.String columns)
Specifies the number of checkbox columns |
void |
setDisableProperty(java.lang.String property)
Sets the name of the property that is used to disable checkbox items. |
void |
setGroupingProperty(java.lang.String property)
Sets the name of the property that is used to group checkbox items. |
void |
setOptionList(OptionListDesignModel optionList,
java.lang.Object optionElements)
Sets the OptionList which is used by the CheckboxGroup-Control |
void |
setValue(java.lang.String value)
Sets the direct value for this control. |
| Methods inherited from class com.cc.framework.taglib.controls.BaseControlTag |
addDesignRule, beginPaint, createControl, createPainter, doEndTag, doStartTag, endPaint, getClientHandler, getControl, getDefaultAction, getDesignModel, getDirectValue, getHttpScope, getPainterContext, lookupBean, releaseDesignModel, setAction, setAjax, setAjax, setBorder, setDirectValue, setDisabled, setFormElement, setHeight, setHelp, setId, setLocale, setName, setPageContext, setPermission, setProperty, setRunat, setScope, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabindex, setTooltip, setTransaction, setWidth |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
doEndTag, doStartTag, getParent, setPageContext, setParent |
| Field Detail |
private static final long serialVersionUID
private javax.servlet.jsp.tagext.BodyContent bodyContent
| Constructor Detail |
public CheckboxGroupTag()
| Method Detail |
protected CheckboxGroupControl getCtrl()
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel in class BaseControlTagBaseControlTag.doCreateDesignModel()protected CheckboxGroupDesignModel getCheckboxGroupDesignModel()
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent b)
setBodyContent in interface javax.servlet.jsp.tagext.BodyTagBodyTag.setBodyContent(javax.servlet.jsp.tagext.BodyContent)public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class BaseControlTagTag.release()
protected Control doCreateControl()
throws javax.servlet.jsp.JspException
BaseControlTag
doCreateControl in class BaseControlTagjavax.servlet.jsp.JspException - If an error during bean lookup occursBaseControlTag.doCreateControl()
public void doInitBody()
throws javax.servlet.jsp.JspException
doInitBody in interface javax.servlet.jsp.tagext.BodyTagjavax.servlet.jsp.JspExceptionBodyTag.doInitBody()
public int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagjavax.servlet.jsp.JspExceptionIterationTag.doAfterBody()public OptionsComparator getOptionsComparator()
getOptionsComparator in interface OptionsContainerTag
public void setColumns(java.lang.String columns)
throws javax.servlet.jsp.JspException
columns - The columns number
javax.servlet.jsp.JspException - If the Argument can't be converted to integerpublic void setGroupingProperty(java.lang.String property)
property - property namepublic void setDisableProperty(java.lang.String property)
property - property name
public void setOptionList(OptionListDesignModel optionList,
java.lang.Object optionElements)
setOptionList in interface OptionsContainerTagoptionList - OptionListDesignModeloptionElements - The CheckboxGrouped optionspublic void setValue(java.lang.String value)
property attribute
setValue in class BaseControlTagvalue - The controls value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||