java.lang.Object
javax.servlet.jsp.tagext.TagSupport
ru.gammalabs.ice.frontend.web.taglib.navigation.RecordsNumberTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class RecordsNumberTag
- extends javax.servlet.jsp.tagext.TagSupport
The tag prints out the number of records found by the enclosing PageableContainer tag,
such as IEContainerTag or MessageListTag. The tag optionally exposes
the number of records found via a scripting variable with the name specified using
variableName tag attribute. It is illegal to use this tag outside of a
PageableContainer tag (nothing will be printed out in this case).
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.log4j.Category log
variableName
private java.lang.String variableName
- The name of the scripting variable to be exposed.
RecordsNumberTag
public RecordsNumberTag()
getVariableName
public java.lang.String getVariableName()
- Returns the name of the scripting variable.
setVariableName
public void setVariableName(java.lang.String variableName)
- Sets the name of the scripting variable.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Description copied from class:
javax.servlet.jsp.tagext.TagSupport
- Default processing of the start tag, returning SKIP_BODY.