Package org.mojavemvc.views

Examples of org.mojavemvc.views.MustacheView


    public static final String MUSTACHE_ERROR_FILE = "mojavemvc-internal-mustache-error-file";

    public View handleError(Throwable e, AppProperties properties) {

        String errorFile = (String)properties.getProperty(MUSTACHE_ERROR_FILE);
        return new MustacheView(errorFile);
    }
View Full Code Here


public class MustacheController {

    @Action("basic/:val")
    public View basic(@Param("val") String val) {
       
        return new MustacheView("basic.mustache").withAttribute("val", val);
    }
View Full Code Here

TOP

Related Classes of org.mojavemvc.views.MustacheView

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.