org.shiftone.exq.tagext
Class CursorIfHasRowsTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.shiftone.exq.tagext.AbstractCursorConditionTag
org.shiftone.exq.tagext.CursorIfHasRowsTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class CursorIfHasRowsTag
- extends AbstractCursorConditionTag
Class CursorIfHasRowsTag.
<exq:if-has-rows id="myCursor">
<table border="1">
<exq:iterator id="myCursor">
<tr>
<td> <exq:value="myCol1"> </td>
<td> <exq:value="myCol2"> </td>
<td> <exq:value="myCol3"> </td>
</tr>
</exq:iterator>
</table>
</exq:if-has-rows>
<exq:if-has-no-rows id="myCursor">
<h2>Sorry, no bla bla bla found </h2>
</exq:if-has-no-rows>
- Author:
- Jeff Drost
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.BodyTag |
doInitBody, setBodyContent |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
doEndTag, getParent, setPageContext, setParent |
CursorIfHasRowsTag
public CursorIfHasRowsTag()
getShouldDisplayBody
public boolean getShouldDisplayBody(Cursor cursor)
- Method getShouldDisplayBody
- Specified by:
getShouldDisplayBody
in class AbstractCursorConditionTag
- Parameters:
cursor
-