org.araneaframework.jsp.tag.uilib.list
Class BaseListRowsTag

java.lang.Object
  extended byorg.araneaframework.jsp.tag.BaseTag
      extended byorg.araneaframework.jsp.tag.BaseIterationTag
          extended byorg.araneaframework.jsp.tag.uilib.list.BaseListRowsTag
All Implemented Interfaces:
ContainedTagInterface, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
FormListRowsTag, ListRowsTag

public abstract class BaseListRowsTag
extends BaseIterationTag

List widget rows tag.

Author:
Oleg Mürk

Field Summary
protected  Object currentRow
           
static String ROW_KEY
           
static String ROW_REQUEST_ID_KEY
           
protected  ListIterator rowIterator
           
 
Fields inherited from class org.araneaframework.jsp.tag.BaseTag
GLOBAL_CONTEXT_ENTRIES_KEY, pageContext, parent
 
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
BaseListRowsTag()
           
 
Method Summary
protected  int afterBody(Writer out)
          Internal callback: afer body.
protected  void doForEachRow(Writer out)
           
 int doStartTag(Writer out)
          Internal callback: before tag.
protected abstract  ListIterator getIterator()
           
 
Methods inherited from class org.araneaframework.jsp.tag.BaseIterationTag
doAfterBody
 
Methods inherited from class org.araneaframework.jsp.tag.BaseTag
addContextEntry, doCatch, doEndTag, doEndTag, doFinally, doStartTag, evaluate, evaluateNotNull, executeEndSubtag, executeEndTagAndUnregister, executeStartSubtag, executeSubtag, getConfiguration, getContextEntry, getContextWidget, getContextWidgetFullId, getEnvironment, getLocalizationContext, getOutputData, getParent, hideGlobalContextEntries, registerAndExecuteStartTag, registerSubtag, release, requireContextEntry, restoreGlobalContextEntries, setPageContext, setParent, unregisterSubtag
 
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.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Field Detail

ROW_REQUEST_ID_KEY

public static final String ROW_REQUEST_ID_KEY
See Also:
Constant Field Values

ROW_KEY

public static final String ROW_KEY
See Also:
Constant Field Values

currentRow

protected Object currentRow

rowIterator

protected ListIterator rowIterator
Constructor Detail

BaseListRowsTag

public BaseListRowsTag()
Method Detail

doStartTag

public int doStartTag(Writer out)
               throws Exception
Description copied from class: BaseTag
Internal callback: before tag.

Overrides:
doStartTag in class BaseTag
Throws:
Exception

doForEachRow

protected void doForEachRow(Writer out)
                     throws Exception
Throws:
Exception

afterBody

protected int afterBody(Writer out)
                 throws Exception
Description copied from class: BaseIterationTag
Internal callback: afer body.

Overrides:
afterBody in class BaseIterationTag
Throws:
Exception

getIterator

protected abstract ListIterator getIterator()