public class

URLTag

extends 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

Class Overview

This overrides the basic URLTag in webwork to provide JIRA specific behaviour

Summary

[Expand]
Inherited Constants
From class webwork.view.taglib.URLTag
From interface javax.servlet.jsp.tagext.BodyTag
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag
[Expand]
Inherited Fields
From class webwork.view.taglib.WebWorkBodyTagSupport
From class javax.servlet.jsp.tagext.BodyTagSupport
From class javax.servlet.jsp.tagext.TagSupport
Public Constructors
URLTag()
Public Methods
int doStartTag()
boolean isAtltoken()
Defaults to true.
void setAtltoken(boolean atltoken)
This controls whether the XSRF token will be added to the list of URL parameters
[Expand]
Inherited Methods
From class webwork.view.taglib.URLTag
From class webwork.view.taglib.WebWorkBodyTagSupport
From class javax.servlet.jsp.tagext.BodyTagSupport
From class javax.servlet.jsp.tagext.TagSupport
From class java.lang.Object
From interface javax.servlet.jsp.tagext.BodyTag
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag
From interface webwork.view.taglib.ParamTag.Parametric

Public Constructors

public URLTag ()

Public Methods

public int doStartTag ()

Throws
JspException

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

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