org.shiftone.exq.tagext
Class CursorIfHasNoRowsTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.shiftone.exq.tagext.AbstractCursorConditionTag
              extended byorg.shiftone.exq.tagext.CursorIfHasNoRowsTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class CursorIfHasNoRowsTag
extends AbstractCursorConditionTag

Class CursorIfHasNoRowsTag.

 <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

Field Summary
 
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
 
Constructor Summary
CursorIfHasNoRowsTag()
           
 
Method Summary
 boolean getShouldDisplayBody(Cursor cursor)
          Method getShouldDisplayBody
 
Methods inherited from class org.shiftone.exq.tagext.AbstractCursorConditionTag
doAfterBody, doStartTag, getCursor, getId, release, setId
 
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
 

Constructor Detail

CursorIfHasNoRowsTag

public CursorIfHasNoRowsTag()
Method Detail

getShouldDisplayBody

public boolean getShouldDisplayBody(Cursor cursor)
Method getShouldDisplayBody

Specified by:
getShouldDisplayBody in class AbstractCursorConditionTag
Parameters:
cursor -