public class GXCheckBoxTag extends GXAbstractTag
<gx:checkbox>
dynamic tag.
<gx:checkbox id="<TAG ID>" checkedValue="Y" uncheckValue="N" checked="true"/>
null
when
the check box is not selected, whereas this tag returns the value of the cleared check box.
getTagsAccesor().getTagContent("<TAG ID>")
Constructor and Description |
---|
GXCheckBoxTag() |
Modifier and Type | Method and Description |
---|---|
void |
setChecked(String value)
Called by the JSP page for setting the
checked attribute of the tag. |
void |
setCheckedValue(String value)
Called by the JSP page for setting a checked value when the check box is selected.
|
void |
setOnclick(String value)
Called by the JSP page for setting the
onclick attribute to the tag output HTML. |
void |
setUncheckedValue(String value)
Called by the JSP page for setting an unchecked value when the check box is not selected.
|
doAfterBody, doEndTag, doStartTag, getId, getInnerHTML, getMainContext, getName, setAlign, setAttributes, setBgcolor, setCssClass, setHeight, setId, setPageContext, setStyle, setTitle, setVisible, setWidth
public void setCheckedValue(String value)
value
- The selected valuepublic void setUncheckedValue(String value)
value
- The unchecked valuepublic void setOnclick(String value)
onclick
attribute to the tag output HTML.setOnclick
in class GXAbstractTag
value
- The onclick
attribute valuepublic void setChecked(String value)
checked
attribute of the tag.value
- The onclick
attribute valueCopyright 2021 Software AG. All rights reserved. Use is subject to license terms.