org.broadleafcommerce.cms.web.structure
Class DisplayContentTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.broadleafcommerce.cms.web.structure.DisplayContentTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class DisplayContentTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Tag used to display structured content that is maintained with the Broadleaf CMS. Usage based on the following attributes:

See Also:
Serialized Form

Field Summary
static String BLC_RULE_MAP_PARAM
           
static String REQUEST_DTO
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
DisplayContentTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 String getContentItemVar()
           
 String getContentListVar()
           
 String getContentName()
           
 String getContentType()
           
 Integer getCount()
           
 Locale getLocale()
           
 String getNumResultsVar()
           
 Object getProduct()
           
protected  void initServices()
           
 boolean isSecure(javax.servlet.http.HttpServletRequest request)
           
 void setContentItemVar(String contentItemVar)
           
 void setContentListVar(String contentVar)
           
 void setContentName(String contentName)
           
 void setContentType(String contentType)
           
 void setCount(Integer count)
           
 void setLocale(Locale locale)
           
 void setNumResultsVar(String numResultsVar)
           
 void setProduct(Object product)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

BLC_RULE_MAP_PARAM

public static final String BLC_RULE_MAP_PARAM
See Also:
Constant Field Values

REQUEST_DTO

public static final String REQUEST_DTO
See Also:
Constant Field Values
Constructor Detail

DisplayContentTag

public DisplayContentTag()
Method Detail

initServices

protected void initServices()

isSecure

public boolean isSecure(javax.servlet.http.HttpServletRequest request)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

getContentType

public String getContentType()

setContentType

public void setContentType(String contentType)

getContentName

public String getContentName()

setContentName

public void setContentName(String contentName)

getCount

public Integer getCount()

setCount

public void setCount(Integer count)

getContentListVar

public String getContentListVar()

setContentListVar

public void setContentListVar(String contentVar)

getContentItemVar

public String getContentItemVar()

setContentItemVar

public void setContentItemVar(String contentItemVar)

getNumResultsVar

public String getNumResultsVar()

setNumResultsVar

public void setNumResultsVar(String numResultsVar)

getLocale

public Locale getLocale()

setLocale

public void setLocale(Locale locale)

getProduct

public Object getProduct()

setProduct

public void setProduct(Object product)


Copyright © 2013. All Rights Reserved.