org.salespointframework.web.taglib.doubleview
Class DoubleViewTag<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.doubleview.DoubleViewTag<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 DoubleViewTag<T extends SpItem>
extends AbstractTag

Basic-class to create DoubleView-tags.

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

Field Summary
 
Fields inherited from class org.salespointframework.web.taglib.AbstractTag
id, log, styleName
 
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
DoubleViewTag()
           
 
Method Summary
 int doEndTag()
          Process the end of this tag.
protected  java.lang.StringBuffer getContent()
           
protected  void reset()
          resets all attributes
 void setDestinationView(View<T> destinationView)
           
 void setShowBackButton(boolean showBackButton)
           
 void setShowNumberField(boolean showNumberField)
           
 void setSourceView(View<T> sourceView)
           
 void setStyle(java.lang.String style)
           
 void setViewIncrementally(View<T> view)
           
 
Methods inherited from class org.salespointframework.web.taglib.AbstractTag
doStartTagInternal, render, setId, setStyleName
 
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
 

Constructor Detail

DoubleViewTag

public DoubleViewTag()
Method Detail

getContent

protected java.lang.StringBuffer getContent()
Specified by:
getContent in class AbstractTag
Returns:
The assembled code of the special tag.

setStyle

public void setStyle(java.lang.String style)

setSourceView

public void setSourceView(View<T> sourceView)

setDestinationView

public void setDestinationView(View<T> destinationView)

setShowNumberField

public void setShowNumberField(boolean showNumberField)

setShowBackButton

public void setShowBackButton(boolean showBackButton)

setViewIncrementally

public void setViewIncrementally(View<T> view)

doEndTag

public int doEndTag()
Description copied from class: AbstractTag
Process the end of this tag.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class AbstractTag

reset

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

Specified by:
reset in class AbstractTag