org.araneaframework.jsp.tag.layout
Class BaseLayoutTag

java.lang.Object
  extended by org.araneaframework.jsp.tag.BaseTag
      extended by org.araneaframework.jsp.tag.PresentationTag
          extended by org.araneaframework.jsp.tag.layout.BaseLayoutTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally, AttributedTagInterface, ContainedTagInterface, CellClassProvider, RowClassProvider
Direct Known Subclasses:
LayoutHtmlTag

public abstract class BaseLayoutTag
extends PresentationTag
implements RowClassProvider, CellClassProvider

Layout base tag.

Author:
Taimo Peelo (taimo@araneaframework.org)

Field Summary
protected  List cellClasses
           
protected  ResettableIterator cellIter
           
protected  List rowClasses
           
protected  ResettableIterator rowIter
           
 
Fields inherited from class org.araneaframework.jsp.tag.PresentationTag
attributes, baseStyleClass, style, styleClass
 
Fields inherited from class org.araneaframework.jsp.tag.BaseTag
GLOBAL_CONTEXT_ENTRIES_KEY, pageContext, parent
 
Fields inherited from interface org.araneaframework.jsp.tag.layout.support.RowClassProvider
KEY
 
Fields inherited from interface org.araneaframework.jsp.tag.layout.support.CellClassProvider
KEY
 
Fields inherited from interface org.araneaframework.jsp.tag.basic.AttributedTagInterface
ATTRIBUTED_TAG_KEY, HTML_ELEMENT_KEY
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
BaseLayoutTag()
           
 
Method Summary
protected  int doStartTag(Writer out)
          Internal callback: before tag.
 String getCellClass()
           
 String getRowClass()
           
 void setCellClasses(String cellClasses)
           
 void setRowClasses(String rowClasses)
           
 
Methods inherited from class org.araneaframework.jsp.tag.PresentationTag
addAttribute, calculateStyleClass, getStyle, getStyleClass, setPageContext, setStyle, setStyleClass
 
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, setParent, unregisterSubtag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rowClasses

protected List rowClasses

cellClasses

protected List cellClasses

rowIter

protected ResettableIterator rowIter

cellIter

protected ResettableIterator cellIter
Constructor Detail

BaseLayoutTag

public BaseLayoutTag()
Method Detail

doStartTag

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

Overrides:
doStartTag in class PresentationTag
Throws:
Exception

getRowClass

public String getRowClass()
Specified by:
getRowClass in interface RowClassProvider

getCellClass

public String getCellClass()
Specified by:
getCellClass in interface CellClassProvider

setRowClasses

public void setRowClasses(String rowClasses)
                   throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setCellClasses

public void setCellClasses(String cellClasses)
                    throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException