|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
LinkTool.addRequestParams(String...)
or LinkTool.addRequestParamsExcept(String...)
or LinkTool.addMissingRequestParams(String...)
LinkTool.addRequestParams(String...)
or LinkTool.addRequestParamsExcept(String...)
or LinkTool.addMissingRequestParams(String...)
LinkTool.append(Object,Object)
LinkTool.params(Object)
ToolboxRuleSet to add create-session rule.
Digester instance, associating them with
our namespace URI (if any).
ToolboxRuleSet to add rule for scope element.
ViewToolContext insteadFactoryConfiguration previously
placed in the ServletContext attributes.
ViewContext, looking first at the Velocity
context, then the servlet context, then lastly at the JVM
default.
org.apache.velocity.toolbox init-param (servlet or servletContext)
If none, config file optionally at /WEB-INF/toolbox.xml (deprecated conventional location)
If no old toolbox or loadDefaults is true, ConfigurationUtils.getDefaultTools()
ConfigurationUtils.getAutoLoaded()(false)
Config file optionally specified by servletContext org.apache.velocity.tools init-param
Config file optionally at /WEB-INF/tools.xml (new conventional location)
Config file optionally specified by servlet org.apache.velocity.tools init-param
Remember that as these configurations are added on top of each other,
the newer values will always override the older ones.
Cookie to add some fluid API sugar and
a toString() method that renders the Cookie's value
instead of the usual Object.toString() shenanigans.Digester used by UiDependencyTool.read(java.lang.String, boolean) to create
the group info for this instance out of the specified XML file.
DataVelocityView
LinkTool.encode(Object)
IncludeTool.find(String, String) using the
language extracted from locale.
IncludeTool.find(String, String) using the
default language.
ServletContext's init-params
for the specified parameter.
Class object for the specified fully qualified
class name, from this web application's class loader.
List of files for the specified file type, if any.
LinkTool.getQuery()
ServletRequest for this instance.
HttpServletRequest for this request.
HttpServletResponse for this request.
PagerTool.getItems().
ServletContext for this request.
PagerTool.getSlip()
will return per request (if available).
VelocityView.getTemplate(HttpServletRequest).
ToolboxRuleSet to use ServletToolInfo class.
LinkTool.getPath()
VelocityView for the specified
ServletConfig's context.
VelocityView for the specified
FilterConfig's context.
VelocityView for the specified
JeeConfig's context.
VelocityView for the specified
ServletContext.
VelocityView for the specified
ServletContext.
VelocityViewServlet.fillContext(org.apache.velocity.context.Context, javax.servlet.http.HttpServletRequest) to add custom things
to the Context or override a VelocityViewServlet.getTemplate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method to change how Templates are retrieved.
PagerTool.hasItems()
JeeConfig with only a ServletContext.JeeConfig with a FilterConfig.JeeConfig with a ServletConfig.Throwable that
broke the rendering of the requested screen.
MethodInvocationException
that broke the rendering of the requested screen.
LinkToolInputStream
and sets up the toolbox from that.
ResourceNotFoundException to send an HTTP 404 result
when needed.
org.apache.velocity.tools.view.ServletRequest parameters.Scope.REQUEST Toolbox (if any)
into the ServletRequest attributes using
Toolbox.KEY as the key.
Scope.REQUEST Toolbox (if any)
into the HttpServletRequest attributes using
Toolbox.KEY as the key, places the Scope.SESSION
Toolbox (if any) into the attributes of the HttpSession (if any)
then ensures that the Scope.APPLICATION Toolbox (if any)
has been placed in the ServletContext attributes.
XmlFactoryConfigurationXmlFactoryConfigurationRuleSet.setCreateSession() for the top object
on the stack, which must be a
org.apache.velocity.tools.ServletToolboxManager.setXhtml() for the top object
on the stack, which must be a
org.apache.velocity.tools.ServletToolboxManager.ToolInfoServletUtilsLinkTool.absolute(Object)
LinkTool.anchor(Object) instead
Log used for logging messages when Cookie
creation fails due to an invalid name.
ViewToolContext
should make the various scoped Toolbox instances available
publically via the HttpServletRequest/HttpSession/ServletContext
attributes or simply add the Toolbox instances directly to the
context.
LinkTool.relative(Object)
HttpServletRequest.
HttpServletRequest.
HttpServletRequest.
ServletRequest
HttpServletResponse.
HttpServletResponse.
LinkTool.setForceRelative(boolean) as reversed
replacement
LinkTool.setIncludeRequestParams(boolean) instead
ServletContext.
PagerTool.getSlip() to list.
Toolbox.
LinkTool.uri(Object)
VelocityView
XmlFactoryConfigurationRuleSetToolInfoFactoryConfiguration previously
placed in the ServletContext attributes.
UiDependencyTool.on(String) or UiDependencyTool.on(String,String).
Scope.APPLICATION Toolbox.
ToolboxFactory for any changes to
the createSession or publishToolboxes settings.
VelocityLayoutServletToolboxes are
available in the request/session/application scopes.VelocityViewServletViewContextContextTool that includes keys and values
from the HttpServletRequest, HttpSession and
ServletContext.ToolContext implementation specific to the servlet environment.ToolInfoConfigurationUtils.getAutoLoaded()() configuration
and any configuration specified via a "org.apache.velocity.tools"
system property.
WebappResourceLoader instead.XmlFactoryConfiguration
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||