Class URLTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
webwork.view.taglib.WebWorkBodyTagSupport
webwork.view.taglib.URLTag
com.atlassian.jira.web.tags.URLTag
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 URLTag extends webwork.view.taglib.URLTag
This overrides the basic URLTag in webwork to provide JIRA specific behaviour
Since:
v4.1
See Also:
  • Field Summary

    Fields inherited from class webwork.view.taglib.URLTag

    ALL, GET, NONE

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    boolean
    Defaults to true.
    void
    setAtltoken(boolean atltoken)
    This controls whether the XSRF token will be added to the list of URL parameters

    Methods inherited from class webwork.view.taglib.URLTag

    addParameter, doEndTag, htmlEscape, setIncludeContext, setPage, setValue, urlEncode

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

    • URLTag

      public URLTag()
  • Method Details

    • doStartTag

      public int doStartTag() throws javax.servlet.jsp.JspException
      Specified by:
      doStartTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class webwork.view.taglib.URLTag
      Throws:
      javax.servlet.jsp.JspException
    • isAtltoken

      public boolean isAtltoken()
      Defaults to true. You must make and exception to not have the xsrf token
      Returns:
      true if the XSRF token will be added to URL parameters
    • setAtltoken

      public void setAtltoken(boolean atltoken)
      This controls whether the XSRF token will be added to the list of URL parameters
      Parameters:
      atltoken - true if it should be added