public class GXRadioButtonTag extends GXAbstractTag
GXAbstractRadioButtonList
,
and can't be used as a standalone tag.
<gx:radioButtonList id="<TAG ID>">
<gx:radioButton value="1" checked="true">View</gx:radioButton>
<gx:radioButton value="2">Edit</gx:radioButton>
</gx:radioButtonList>
To dynamically set the selected option use:
getTagsAccesor().setTagContent("", "")
getTagsAccesor().setTagList("", GXINameValueCollection)
getTagsAccesor().getTagContent(<TAG ID>)
GXAbstractRadioButtonList
,
Serialized FormConstructor and Description |
---|
GXRadioButtonTag() |
Modifier and Type | Method and Description |
---|---|
void |
setChecked(java.lang.String value)
Called by the JSP page for setting the
checked attribute to the tag. |
void |
setOnclick(java.lang.String value)
Called by the JSP page for setting the onclick attribute to the tag output html.
|
void |
setValue(java.lang.String value)
Called by the JSP page for setting the
value attribute to the tag. |
doAfterBody, doEndTag, doStartTag, getId, getInnerHTML, getMainContext, getName, setAlign, setAttributes, setBgcolor, setCssClass, setHeight, setId, setPageContext, setStyle, setTitle, setVisible, setWidth
public void setValue(java.lang.String value)
value
attribute to the tag.value
- The value
attribute valuepublic void setChecked(java.lang.String value)
checked
attribute to the tag.value
- The checked
attribute valuepublic void setOnclick(java.lang.String value)
GXAbstractTag
setOnclick
in class GXAbstractTag
value
- The onclick attribute valueCopyright 2018 Software AG. All rights reserved. Use is subject to license terms.