Package org.mojavemvc.views

Examples of org.mojavemvc.views.VM


    public static final String VM_ERROR_FILE = "mojavemvc-internal-vm-error-file";

    public View handleError(Throwable e, AppProperties properties) {

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


public class VMController {

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

TOP

Related Classes of org.mojavemvc.views.VM

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.