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"; 
 
    @Override 
    protected void postProcessVelocityEngine(VelocityEngine velocityEngine) { 
        super.postProcessVelocityEngine(velocityEngine); 
        velocityEngine.setProperty(ROSE_MACRO_RESOURCE_LOADER_CLASS, ClasspathResourceLoader.class 
4
CodeRank