com.atlassian.jira.web.tags
Class SoyTemplateTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by webwork.view.taglib.WebWorkBodyTagSupport
              extended by com.atlassian.jira.web.tags.SoyTemplateTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, webwork.view.taglib.ParamTag.Parametric

public class SoyTemplateTag
extends webwork.view.taglib.WebWorkBodyTagSupport
implements webwork.view.taglib.ParamTag.Parametric

Wrapper to call a soy template

Since:
v6.0
See Also:
Serialized Form

Field Summary
protected  String completeModuleKey
           
protected  Map<String,Object> params
           
protected  String template
           
 
Fields inherited from class webwork.view.taglib.WebWorkBodyTagSupport
stack
 
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
SoyTemplateTag()
           
 
Method Summary
 void addParameter(String name, Object value)
           
 int doEndTag()
           
 String getModuleKey()
           
 Map<String,Object> getParameters()
           
protected  com.atlassian.soy.renderer.SoyTemplateRenderer getSoyRenderer()
           
 String getTemplate()
           
 boolean memberOf(Object obj1, Object obj2)
           
 void setModuleKey(String completeModuleKey)
           
 void setTemplate(String template)
           
 
Methods inherited from class webwork.view.taglib.WebWorkBodyTagSupport
findString, findValue, getStack, release, setPageContext, setParent, toString
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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
 

Field Detail

template

protected String template

params

protected Map<String,Object> params

completeModuleKey

protected String completeModuleKey
Constructor Detail

SoyTemplateTag

public SoyTemplateTag()
Method Detail

getTemplate

public String getTemplate()

setTemplate

public void setTemplate(String template)

getModuleKey

public String getModuleKey()

setModuleKey

public void setModuleKey(String completeModuleKey)

addParameter

public void addParameter(String name,
                         Object value)
Specified by:
addParameter in interface webwork.view.taglib.ParamTag.Parametric

getParameters

public Map<String,Object> getParameters()

memberOf

public boolean memberOf(Object obj1,
                        Object obj2)

doEndTag

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

getSoyRenderer

protected com.atlassian.soy.renderer.SoyTemplateRenderer getSoyRenderer()


Copyright © 2002-2013 Atlassian. All Rights Reserved.