|
||||||||||
| 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.CrumbTrailTag
public class CrumbTrailTag
This tag is used to create a page navigation crumb trail.
This tag has a combined function of adding the current page (tag) to
the crumb trail, as well as printing out the crumb trail.

| 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 | |
|---|---|
CrumbTrailTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Resets the tags internal state. |
int |
doStartTag()
Create the crumb trail, add this tag to the list if needed. |
boolean |
isReset()
|
void |
setCaption(java.lang.String caption)
Sets the default caption string. |
void |
setDsn(java.lang.String dsn)
Set the name of the data source actions on this page could apply to. |
void |
setErrorPage(java.lang.String errorPage)
Sets the error page. |
void |
setHref(java.lang.String href)
Sets the href format string for this tag's crumb trail, overriding the value of the crumbTrailFormat value set in the application's deployment descriptor. |
void |
setReset(boolean reset)
|
void |
setResponsePage(java.lang.String responsePage)
Sets the resulting response page, usually the current page. |
| 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 CrumbTrailTag()
| 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 setCaption(java.lang.String caption)
caption - the new default caption valuepublic void setDsn(java.lang.String dsn)
dsn - the data source namepublic void setErrorPage(java.lang.String errorPage)
errorPage - the resulting errorPage pagepublic void setHref(java.lang.String href)
href - the href format stringpublic void setResponsePage(java.lang.String responsePage)
responsePage - the resulting response page, usually the current pagepublic boolean isReset()
public void setReset(boolean reset)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||