org.salespointframework.web.taglib.view
Class ListTag<T extends SpItem>

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.springframework.web.servlet.tags.RequestContextAwareTag
          extended by org.salespointframework.web.taglib.AbstractTag
              extended by org.salespointframework.web.taglib.view.ViewTag<T>
                  extended by org.salespointframework.web.taglib.view.ListTag<T>
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 class ListTag<T extends SpItem>
extends ViewTag<T>

Basic-class to create List-tags.

Author:
Uwe Schmidt, Lars Kreisz
See Also:
ViewTag, Serialized Form

Field Summary
protected  ListViewDirectionType direction
           
 
Fields inherited from class org.salespointframework.web.taglib.view.ViewTag
abstractTableModel, caption, extraCols, id, log, positionOfExtraColumns, renderSettingsConfigurator, searchField, searchString, style, styleName, summary, viewRepresentation
 
Fields inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
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
ListTag()
          Sets the ViewRepresentation to NativeHtmlList
 
Method Summary
protected  void reset()
          resets all attributes
 void setViewDirection(ListViewDirectionType direction)
          Sets the ListViewDirectionType.
 
Methods inherited from class org.salespointframework.web.taglib.view.ViewTag
getContent, setAbstractTableModel, setCaption, setExtraCols, setId, setPositionOfExtraColumns, setRenderSettingsConfigurator, setSearchField, setSearchString, setStyle, setStyleName, setSummary, setView, setViewRepresentation
 
Methods inherited from class org.salespointframework.web.taglib.AbstractTag
doEndTag, doStartTagInternal, render
 
Methods inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag
doCatch, doFinally, doStartTag, getRequestContext
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

direction

protected ListViewDirectionType direction
Constructor Detail

ListTag

public ListTag()
Sets the ViewRepresentation to NativeHtmlList

Method Detail

setViewDirection

public void setViewDirection(ListViewDirectionType direction)
Sets the ListViewDirectionType. The default is 'LEFT'.

Parameters:
direction -

reset

protected void reset()
Description copied from class: AbstractTag
resets all attributes

Overrides:
reset in class ViewTag<T extends SpItem>