|
||||||||||
| 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.CodeTableOptionListTag
public class CodeTableOptionListTag
This tag creates an option list from an association code table.

| 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 | |
|---|---|
CodeTableOptionListTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
Creates and the option list tags. |
void |
setCodeTable(java.lang.String codeTable)
Sets the codeTable name. |
void |
setDsn(java.lang.String dsn)
Sets the name of the data source to determine the selected item in the list. |
void |
setField(java.lang.String field)
Sets the field name attribute to determine the selected item in the list. |
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. |
java.lang.String |
toString()
Gets the string representation of this object. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CodeTableOptionListTag()
| Method Detail |
|---|
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException
public void setCodeTable(java.lang.String codeTable)
codeTable - the new codeTable valuepublic void setDsn(java.lang.String dsn)
dsn - the new dsn valuepublic void setField(java.lang.String field)
field - the new field valuepublic void setSelected(java.lang.String selected)
selected - the new selected valuepublic 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)
styleclass - the CSS style class to be used to items in the option listpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||