org.broadleafcommerce.core.web.catalog.taglib
Class GetProductsByCategoryIdTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.broadleafcommerce.core.web.catalog.taglib.AbstractCatalogTag
org.broadleafcommerce.core.web.catalog.taglib.GetProductsByCategoryIdTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
public class GetProductsByCategoryIdTag
- extends AbstractCatalogTag
This class is for demonstration purposes only. It contains a call to
catalogService.findActiveProductsByCategory, which may return a large list. A
more performant solution would be to utilize data paging techniques.
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetProductsByCategoryIdTag
public GetProductsByCategoryIdTag()
doTag
public void doTag()
throws javax.servlet.jsp.JspException
- Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag- Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
- Throws:
javax.servlet.jsp.JspException
getVar
public String getVar()
setVar
public void setVar(String var)
getCategoryId
public long getCategoryId()
setCategoryId
public void setCategoryId(long categoryId)
Copyright © 2012. All Rights Reserved.