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 Form| Constructor and Description |
|---|
GXRadioButtonTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
setChecked(String value)
Called by the JSP page for setting the
checked attribute to the tag. |
void |
setOnclick(String value)
Called by the JSP page for setting the onclick attribute to the tag output html.
|
void |
setValue(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, setWidthpublic void setValue(String value)
value attribute to the tag.value - The value attribute valuepublic void setChecked(String value)
checked attribute to the tag.value - The checked attribute valuepublic void setOnclick(String value)
GXAbstractTagsetOnclick in class GXAbstractTagvalue - The onclick attribute valueCopyright 2022 Software AG. All rights reserved. Use is subject to license terms.