Spring Framework VelocityConfigurer - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework VelocityConfigurer class.

This code example shows how to use the following methods:
 * @author 王志亮 [qieqie.wang@gmail.com] 
public class RoseVelocityConfigurer extends VelocityConfigurer { 
    /** the name of the resource loader for Rose's bind macros */ 
    private static final String ROSE_MACRO_RESOURCE_LOADER_NAME = "roseMacro"; 
    /** the key for the class of Rose's bind macro resource loader */ 
    private static final String ROSE_MACRO_RESOURCE_LOADER_CLASS = "roseMacro.resource.loader.class"; 
    /** the name of Rose's default bind macro library */ 
    private static final String ROSE_MACRO_LIBRARY = "net/paoding/rose/web/impl/view/velocity/rose.vm"; 
    protected void postProcessVelocityEngine(VelocityEngine velocityEngine) { 
        velocityEngine.setProperty(ROSE_MACRO_RESOURCE_LOADER_CLASS, ClasspathResourceLoader.class 
Experience pair programming with AI  Get Codota for Java