| org.sakaiproject.vm.ComponentServlet org.sakaiproject.vm.VmServlet
All known Subclasses: org.sakaiproject.cheftool.VmServlet,
VmServlet | abstract public class VmServlet extends ComponentServlet (Code) | |
VmServlet is a Servlet that makes use of the Velocity Template Engine.
This extends our ComponentServlet, giving us also the ability to find registered service components.
|
getVmReference | public Object getVmReference(String name, HttpServletRequest request)(Code) | | Access the object set in the velocity context for this name, if any.
Parameters: name - The reference name. Parameters: request - The request. The reference value object, or null if none |
includeVm | protected void includeVm(String template, HttpServletRequest request, HttpServletResponse response) throws ServletException(Code) | | Include the Velocity template, expanded with the current set of references
Parameters: template - The path, relative to the webapp context, of the template file Parameters: request - The render request. Parameters: response - The render response. throws: PortletException - if something goes wrong. |
setVmReference | public void setVmReference(String name, Object value, HttpServletRequest request)(Code) | | Add a reference object to the velocity context by name - if it's not already defined
Parameters: name - The reference name. Parameters: value - The reference value object. Parameters: request - The request. |
setVmStdRef | protected void setVmStdRef(HttpServletRequest request, HttpServletResponse response)(Code) | | Add some standard references to the vm context.
Parameters: request - The request. Parameters: response - The response. |
Fields inherited from org.sakaiproject.vm.ComponentServlet | final protected static String ATTR_PARAMS(Code)(Java Doc)
|
|
|