|
||||||||||
| 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.AbstractCommonAttrsTag
com.taggercat.tags.DataSourceNavigationTag
public class DataSourceNavigationTag
This tag is used to create data source navigation hyperlinks or buttons. The link is dynamic in the sense that it
is enabled when the action is valid. Otherwise, only the action text is returned ( not an href ).
For example, "Go Next" will be a link when there are more rows in the result set, otherwise,
"Go Next" is simply static text.

| 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 | |
|---|---|
DataSourceNavigationTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Resets the tags internal state. |
int |
doStartTag()
Creates and send the data source navigation tag to the page. |
java.lang.String |
getDisabledStyleclass()
Gets the disabled caption style. |
void |
setAction(java.lang.String action)
Sets the action name. |
void |
setDisabledCaption(java.lang.String disabledCaption)
Sets the caption when the action is not valid, and therefore disabled. |
void |
setDisabledStyleclass(java.lang.String disabledStyleclass)
Sets the CSS Style class to use of the action is disabled. |
void |
setEnabledCaption(java.lang.String enabledCaption)
Sets the caption when the action is valid, and therefore enabled. |
java.lang.String |
toString()
|
| Methods inherited from class com.taggercat.tags.AbstractCommonAttrsTag |
|---|
setDsn, setErrorPage, setFormName, setResponsePage |
| 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 DataSourceNavigationTag()
| Method Detail |
|---|
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class AbstractCommonAttrsTagjavax.servlet.jsp.JspException
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class AbstractCommonAttrsTagjavax.servlet.jsp.JspException
public void setAction(java.lang.String action)
action - The action name, ( not case sensitive ).public void setDisabledCaption(java.lang.String disabledCaption)
disabledCaption - the disabled captionpublic void setEnabledCaption(java.lang.String enabledCaption)
enabledCaption - the enabled captionpublic java.lang.String getDisabledStyleclass()
public void setDisabledStyleclass(java.lang.String disabledStyleclass)
disabledStyleclass - the disabled style classpublic java.lang.String toString()
toString in class AbstractCommonAttrsTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||