com.atlassian.jira.jelly
Class WebWorkAdaptor
java.lang.Object
com.atlassian.jira.jelly.WebWorkAdaptor
- public class WebWorkAdaptor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebWorkAdaptor
public WebWorkAdaptor()
mapJellyTagToAction
public boolean mapJellyTagToAction(ActionTagSupport tag,
XMLOutput output)
throws JellyTagException
- Takes a Jelly Tag, maps it to a Webwork Action and executes the Webwork Action.
- Parameters:
tag
- The Jelly Tagoutput
- The XMLOutput writer (the Jelly XMLOutput Stream - where errors and output goes)
- Throws:
JellyTagException
writeErrorToXmlOutput
public static void writeErrorToXmlOutput(XMLOutput output,
java.lang.StringBuffer buff,
java.lang.String actionName,
ActionTagSupport badTag)
throws org.xml.sax.SAXException
- Formats the error output as one element per error.
- Parameters:
output
- The XML Output streambuff
- The Stringbuffer containing the error string
- Throws:
org.xml.sax.SAXException
authenticateUser
public boolean authenticateUser(ActionTagSupport tag,
java.lang.String username,
java.lang.String password,
XMLOutput output)
throws java.lang.Exception
- Throws:
java.lang.Exception
getJellyHttpSession
public java.util.HashMap getJellyHttpSession()
getJellyHttpResponse
public JellyHttpResponse getJellyHttpResponse()
getJellyHttpRequest
public JellyHttpRequest getJellyHttpRequest()