|
HDIV API 2.0.4 | |||||||||
| 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
org.apache.struts.taglib.html.BaseHandlerTag
org.apache.struts.taglib.html.RadioTag
org.hdiv.taglib.html.RadioTagHDIV
public class RadioTagHDIV
Renders an HTML <input> element of type radio, populated from the specified property of the bean associated with our current form. This tag is only valid when nested inside a form tag body.
If an iterator is used to render a series of radio tags, the idName attribute may be used to specify the name of the bean exposed by the iterator. In this case, the value attribute is used as the name of a property on the idName bean that returns the value of the radio tag in this iteration.
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.taglib.html.RadioTag |
|---|
idName, messages, name, property, text, value |
| Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
|---|
accesskey, defaultLocale, indexed, 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 | |
|---|---|
RadioTagHDIV()
|
|
| Method Summary | |
|---|---|
protected void |
prepareAttribute(java.lang.StringBuffer handlers,
java.lang.String name,
java.lang.Object value)
Prepares an attribute if the value is not null, appending it to the the given StringBuffer. |
protected java.lang.String |
prepareName()
Prepare the name element |
protected java.lang.String |
renderRadioElement(java.lang.String serverValue,
java.lang.String checkedValue)
Renders an HTML <input type="radio"> element. |
| Methods inherited from class org.apache.struts.taglib.html.RadioTag |
|---|
doAfterBody, doEndTag, doStartTag, getIdName, getName, getProperty, getValue, release, setIdName, setName, setProperty, setValue |
| Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
|---|
getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getIndexed, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
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 |
| Constructor Detail |
|---|
public RadioTagHDIV()
| Method Detail |
|---|
protected java.lang.String renderRadioElement(java.lang.String serverValue,
java.lang.String checkedValue)
throws javax.servlet.jsp.JspException
renderRadioElement in class org.apache.struts.taglib.html.RadioTagserverValue - The data to be used in the tag's value
attribute and sent to the server when the form is submitted.checkedValue - If the serverValue equals this value the radio button
will be checked.
javax.servlet.jsp.JspExceptionorg.hdiv.composer.IDataComposer#compose(String, String, boolean)
protected java.lang.String prepareName()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
protected void prepareAttribute(java.lang.StringBuffer handlers,
java.lang.String name,
java.lang.Object value)
handlers - The StringBuffer that output will be appended to.
|
HDIV 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||