|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.taggercat.tags.AbstractExpEvalTag
com.taggercat.tags.AbstractHTMLInputTag
com.taggercat.tags.HTMLRadioButtonsTag
public class HTMLRadioButtonsTag
This tag creates a group of radio buttons that is filled from a Code Table, a List, Map, or an explicitly specified list of comma separated options. The List or Map object can be on any accessible scope.
List objects are used where the stored value is the same as the display value. Map objects are used when the stored value is a key to the display value ( a coded value list ).
If the listOptions attribute is set in conjunction with the listVar attribute, and the listVar instance
does not exist, then the listVar named scope variable will be created from the
listOptions attribute list.

| Field Summary |
|---|
| 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 | |
|---|---|
HTMLRadioButtonsTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Resets the tags internal state. |
java.lang.String |
getPropertiesFile()
|
java.lang.String |
getSelected()
Gets the selected item. |
java.lang.String |
getSelectedStyleclass()
Gets the CSS style class to be used to selected items in the option list. |
void |
setCodeTable(java.lang.String codeTable)
Sets the codeTable name. |
void |
setListOptions(java.lang.String listOptions)
Sets the listOptions attribute. |
void |
setListVar(java.lang.String listVar)
Sets the listVar attribute . |
void |
setMapOptions(java.lang.String mapOptions)
Sets the mapOptions attribute. |
void |
setPropertiesFile(java.lang.String propertiesFile)
|
void |
setSelected(java.lang.String selected)
Sets the selected attribute. |
void |
setSelectedStyleclass(java.lang.String selectedStyleclass)
Sets the CSS style class to be used to selected items in the option list. |
void |
setStyleclass(java.lang.String styleclass)
Sets the CSS style class to be used to items in the option list. |
void |
setValue(Model model,
DataSource ds,
TCEntity tcEntity)
Sets the value field and attribute. |
| Methods inherited from class com.taggercat.tags.AbstractExpEvalTag |
|---|
getModel, resolveProperty, setScope, setVar |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLRadioButtonsTag()
| Method Detail |
|---|
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class AbstractHTMLInputTagjavax.servlet.jsp.JspException
public void setValue(Model model,
DataSource ds,
TCEntity tcEntity)
throws javax.servlet.jsp.JspException
AbstractHTMLInputTag
setValue in class AbstractHTMLInputTagjavax.servlet.jsp.JspExceptionmodel - the modelds - the data source the field applies totcEntity - the TCEntitypublic java.lang.String getSelected()
public java.lang.String getSelectedStyleclass()
public void setListVar(java.lang.String listVar)
listVar - the new listVar fieldValuepublic void setSelected(java.lang.String selected)
selected - The new selected valuepublic void setListOptions(java.lang.String listOptions)
listOptions - The list of optionspublic void setMapOptions(java.lang.String mapOptions)
mapOptions - The map name-value pairspublic java.lang.String getPropertiesFile()
public void setPropertiesFile(java.lang.String propertiesFile)
propertiesFile - the propertiesFile to setpublic void setSelectedStyleclass(java.lang.String selectedStyleclass)
selectedStyleclass - the CSS style class to be used to selected items in the option list.public void setStyleclass(java.lang.String styleclass)
setStyleclass in class AbstractHTMLInputTagstyleclass - the CSS style class to be used to items in the option listpublic void setCodeTable(java.lang.String codeTable)
codeTable - the new codeTable value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||