|
||||||||||
| 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.QBFBooleanOptionListTag
public class QBFBooleanOptionListTag
This tag creates a QBF Option list for the specified dsn.field.
The option list defaults to Yes/No and the fields current value is set as the selected value. You can optionally specify your own values for the display and stored values.example:
<select name="customers.qbf.city" > <tc:qbfBooleanOptionList selected='customers.qbf.city' /> </select>

| 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 | |
|---|---|
QBFBooleanOptionListTag()
Create a new tag instance. |
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
Creates the QBF boolean option list, and sends it to the page. |
void |
setCodeValues(java.lang.String codes)
Sets the possible code ( stored ) values in the option list. |
void |
setDisplayValues(java.lang.String values)
Sets the possible choices in the option list. |
void |
setSelected(java.lang.String selected)
Sets the selected attribute. |
void |
setStates(java.lang.String states)
Sets the possible "states" in the option list. |
| 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QBFBooleanOptionListTag()
| 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 setCodeValues(java.lang.String codes)
codes - the supported code valuespublic void setDisplayValues(java.lang.String values)
values - The supported display valuespublic void setSelected(java.lang.String selected)
selected - The new selected valuepublic void setStates(java.lang.String states)
states - the supported states
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||