org.infoglue.deliver.taglib.content
Class AssignedCategoriesTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.infoglue.deliver.taglib.AbstractTag
          extended by org.infoglue.deliver.taglib.TemplateControllerTag
              extended by org.infoglue.deliver.taglib.component.ComponentLogicTag
                  extended by org.infoglue.deliver.taglib.content.AssignedCategoriesTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class AssignedCategoriesTag
extends ComponentLogicTag

This is a tag which lets you get the categories assigned to a content on a specific category key. <%@ taglib uri="infoglue" prefix="infoglue" %>

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
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
AssignedCategoriesTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          Initializes the parameters to make it accessible for the children tags (if any).
 void setCategoryKey(java.lang.String categoryKey)
           
 void setContentId(java.lang.String contentId)
           
 void setLanguageId(java.lang.String languageId)
           
 void setPropertyName(java.lang.String propertyName)
           
 void setUseAttributeLanguageFallback(boolean useAttributeLanguageFallback)
           
 void setUseInheritance(boolean useInheritance)
           
 
Methods inherited from class org.infoglue.deliver.taglib.component.ComponentLogicTag
getComponentLogic
 
Methods inherited from class org.infoglue.deliver.taglib.TemplateControllerTag
getController
 
Methods inherited from class org.infoglue.deliver.taglib.AbstractTag
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write
 
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

AssignedCategoriesTag

public AssignedCategoriesTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Initializes the parameters to make it accessible for the children tags (if any).

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
indication of whether to evaluate the body or not.
Throws:
javax.servlet.jsp.JspException - if an error occurred while processing this tag.

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.TagSupport
Throws:
javax.servlet.jsp.JspException

setPropertyName

public void setPropertyName(java.lang.String propertyName)
                     throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setCategoryKey

public void setCategoryKey(java.lang.String categoryKey)
                    throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setUseInheritance

public void setUseInheritance(boolean useInheritance)

setContentId

public void setContentId(java.lang.String contentId)
                  throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setLanguageId

public void setLanguageId(java.lang.String languageId)
                   throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setUseAttributeLanguageFallback

public void setUseAttributeLanguageFallback(boolean useAttributeLanguageFallback)


Copyright © 2005 InfoGlue.org All Rights Reserved.