public final class ConfluenceVelocityManager
extends com.opensymphony.webwork.views.velocity.VelocityManager
This manager is responsible for providing default Velocity contexts to the WebWork velocity infrastructure and attaching application context event listeners.
Constructor and Description |
---|
ConfluenceVelocityManager() |
Modifier and Type | Method and Description |
---|---|
org.apache.velocity.context.Context |
createContext(com.opensymphony.xwork.util.OgnlValueStack ognlValueStack,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
static org.apache.velocity.context.Context |
getConfluenceVelocityContext() |
static org.apache.velocity.context.Context |
processContextForRendering(org.apache.velocity.context.Context context) |
public org.apache.velocity.context.Context createContext(com.opensymphony.xwork.util.OgnlValueStack ognlValueStack, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
createContext
in class com.opensymphony.webwork.views.velocity.VelocityManager
public static org.apache.velocity.context.Context processContextForRendering(org.apache.velocity.context.Context context)
context
- is currently modified and returned, but do not rely on this as it may change in future.public static org.apache.velocity.context.Context getConfluenceVelocityContext()
Copyright © 2003–2019 Atlassian. All rights reserved.