|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--com.ora.jsp.tags.counter.IncrementCounterTag
This class is a custom action for incrementing the value of a page counter for the page where it's included.
Field Summary | |
private int |
scope
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext, parent, values |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
IncrementCounterTag()
|
Method Summary | |
int |
doEndTag()
Gets the CounterBean from the specified scope, or creates a new one if it doesn't exist, and increments the value of the counter for the current page. |
void |
setScope(java.lang.String scopeName)
Sets the scope attribute value. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int scope
Constructor Detail |
public IncrementCounterTag()
Method Detail |
public int doEndTag()
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public void setScope(java.lang.String scopeName)
scopeName
- the scope for the counter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |