Class WebResourceRequireTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
webwork.view.taglib.WebWorkTagSupport
com.atlassian.jira.web.tags.WebResourceRequireTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class WebResourceRequireTag extends webwork.view.taglib.WebWorkTagSupport
Represents a JSP Tag that is able to indicate a list of required web-resources for the current page.
Since:
v5.0
See Also:
  • Field Summary

    Fields inherited from class webwork.view.taglib.WebWorkTagSupport

    stack

    Fields inherited from class javax.servlet.jsp.tagext.TagSupport

    id, 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    Gets the comma delimited list of web-resource contexts that define resources required for the current page.
    Gets the comma delimited list of web-resource modules to require for the current page.
    protected com.atlassian.webresource.api.WebResourceManager
     
    void
    setContexts(String contexts)
     
    void
    setModules(String modules)
     

    Methods inherited from class webwork.view.taglib.WebWorkTagSupport

    findString, findValue, getStack, release, setPageContext, setParent, toString

    Methods inherited from class javax.servlet.jsp.tagext.TagSupport

    doAfterBody, doStartTag, 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
  • Constructor Details

    • WebResourceRequireTag

      public WebResourceRequireTag()
  • Method Details

    • getModules

      public String getModules()
      Gets the comma delimited list of web-resource modules to require for the current page.
      Returns:
      A comma delimited list of web-resource modules to require for the current page.
    • setModules

      public void setModules(String modules)
    • getContexts

      public String getContexts()
      Gets the comma delimited list of web-resource contexts that define resources required for the current page.
      Returns:
      A comma delimited list of web-resource contexts that define resources required for the current page.
    • setContexts

      public void setContexts(String contexts)
    • 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.WebWorkTagSupport
      Throws:
      javax.servlet.jsp.JspException
    • getWebResourceManager

      protected com.atlassian.webresource.api.WebResourceManager getWebResourceManager()