|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
au.com.whitesquare.waf.taglib.html.BaseHandlerTag
au.com.whitesquare.waf.taglib.html.BaseInputTag
au.com.whitesquare.waf.taglib.html.RadioTag
This class manages the rendering of <input type="radio"> element.
As with all waf tags, this element supports re-population by default.
The CheckedValue attribute is used to configure the VALUE of the radio button.
Last Modified $Date: 2005/06/26 11:21:31 $
| Field Summary | |
protected String |
checkedvalue
The data to be shown in the VALUE attribute of the input element. |
protected String |
text
The content to be rendered after the input element. |
| Fields inherited from class au.com.whitesquare.waf.taglib.html.BaseInputTag |
value |
| Fields inherited from class au.com.whitesquare.waf.taglib.html.BaseHandlerTag |
accesskey, tabindex |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| 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 | |
RadioTag()
|
|
| Method Summary | |
String |
getCheckedvalue()
Returns the value to be rendered as the VALUE of the radio tag. |
String |
getText()
The text to be displayed after the radio button. |
void |
release()
Release any acquired resources. |
protected String |
renderInputElement()
Renders an HTML <input type="radio"> element. |
void |
setCheckedvalue(boolean cvalue)
Sets the value to be rendered as the VALUE of the radio tag. |
void |
setCheckedvalue(Object cvalue)
Sets the value to be rendered as the VALUE of the radio tag. |
void |
setCheckedvalue(String cvalue)
Sets the value to be rendered as the VALUE of the radio tag. |
void |
setText(String text)
The text to be displayed after the radio button. |
| Methods inherited from class au.com.whitesquare.waf.taglib.html.BaseInputTag |
configureRepopulateValue, configureValue, doEndTag, doStartTag, getCols, getMaxlength, getName, getRows, getSize, getValue, isEditable, isRepopulate, prepareInput, renderTextElement, setCols, setEditable, setMaxlength, setName, setRepopulate, setRows, setSize, setValue, setValue, setValue, setValue |
| Methods inherited from class au.com.whitesquare.waf.taglib.html.BaseHandlerTag |
filter, getAccesskey, getAlt, getDisabled, getElementClose, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, prepareEventHandlers, prepareFocusEvents, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setDisabled, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey, write |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, 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 |
getParent, setPageContext, setParent |
| Field Detail |
protected String text
protected String checkedvalue
| Constructor Detail |
public RadioTag()
| Method Detail |
protected String renderInputElement()
throws JspException
renderInputElement in class BaseInputTagJspExceptionpublic void release()
release in interface Tagrelease in class BaseInputTagpublic String getCheckedvalue()
public void setCheckedvalue(String cvalue)
cvalue - the VALUE to be rendered.public void setCheckedvalue(Object cvalue)
cvalue - the VALUE to be rendered.public void setCheckedvalue(boolean cvalue)
cvalue - the VALUE to be rendered.public String getText()
public void setText(String text)
text - the text to be displayed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||