com.acsinet_solutions.cetia4.tags.pager
Class IfFirstTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.jstl.core.ConditionalTagSupport
          extended by com.acsinet_solutions.cetia4.tags.support.LogConditionalTagSupport
              extended by com.acsinet_solutions.cetia4.tags.pager.AbstractBlockConditionTag
                  extended by com.acsinet_solutions.cetia4.tags.pager.IfFirstTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public final class IfFirstTag
extends AbstractBlockConditionTag

Tag that displays it's contents if this is the first block.

Author:
Santiago Arriaga - santiago.arriaga@acsinet-solutions.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
IfFirstTag()
           
 
Method Summary
protected  PagingBlock getBlock(PagedResults results)
          Return the block that is requested.
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.pager.AbstractBlockConditionTag
checkBlock, condition
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.support.LogConditionalTagSupport
doCatch, doFinally, getConfiguration, getLocale, getLogger, getPortalPath, getRequest, getServletContext, getSession
 
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
doStartTag, release, setScope, setVar
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfFirstTag

public IfFirstTag()
Method Detail

getBlock

protected final PagingBlock getBlock(PagedResults results)
Description copied from class: AbstractBlockConditionTag
Return the block that is requested. returns null if the block does not exist and so the tag body won´t be evaluated.

Specified by:
getBlock in class AbstractBlockConditionTag