Package org.springmodules.xt.ajax.component.dynamic

Examples of org.springmodules.xt.ajax.component.dynamic.TemplateComponent


        return response;
    }
   
    public AjaxResponse includeVelocity(AjaxActionEvent event) {
        // Create the component for including velocity content:
        TemplateComponent velocity = new TemplateComponent(this.velocityViewResolver, "include");
        Map model = new HashMap();
        model.put("velocity", "Velocity");
        velocity.setTemplateModel(model);
        // Create an ajax action for appending it:
        AppendContentAction action = new AppendContentAction("velocity", velocity);
       
        // Create a concrete ajax response:
        AjaxResponse response = new AjaxResponseImpl();
View Full Code Here

TOP

Related Classes of org.springmodules.xt.ajax.component.dynamic.TemplateComponent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.