Package org.mojavemvc.tests.views

Examples of org.mojavemvc.tests.views.HTMLPage


    }

    @Action("param-annotation-string")
    public View paramAnnotationTest(@Param("p1") String p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-string " + (p1 == null ? "null" : p1));
    }
View Full Code Here


    }

    @Action("param-annotation-string2")
    public View paramAnnotationTest2(@Param("p1") String p1, @Param("p2") String p2) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-string2 " + p1 + ", " + p2);
    }
View Full Code Here

    }

    @Action("param-annotation-int")
    public View paramAnnotationTest3(@Param("p1") int p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-int " + p1);
    }
View Full Code Here

    }

    @Action("param-annotation-double")
    public View paramAnnotationTest4(@Param("p1") double p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-double " + p1);
    }
View Full Code Here

    }
   
    @Action("param-annotation-bigdecimal")
    public View paramAnnotationTestBigDecimal(@Param("p1") BigDecimal p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-bigdecimal " + p1);
    }
View Full Code Here

    }

    @Action("param-annotation-date")
    public View paramAnnotationTest5(@Param("p1") Date p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-date " + (p1 == null ? "null" : p1.toString()));
    }
View Full Code Here

    @Action("param-annotation-all")
    public View paramAnnotationTest6(@Param("p1") Date p1, @Param("p2") String p2, @Param("p3") int p3,
            @Param("p4") double p4) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-all " +
                    p1.toString() + ", " + p2 + ", " + p3 + ", " + p4);
    }
View Full Code Here

    }

    @Action("param-annotation-bool")
    public View paramAnnotationTest7(@Param("p1") boolean p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-bool " + p1);
    }
View Full Code Here

    }

    @Action("param-annotation-ints")
    public View paramAnnotationTest8(@Param("p1") int[] p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-ints " +
                    p1[0] + ", " + p1[1] + ", " + p1[2] + ", " + p1[3]);
    }
View Full Code Here

    }

    @Action("param-annotation-strings")
    public View paramAnnotationTest9(@Param("p1") String[] p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-strings " +
                    p1[0] + ", " + p1[1] + ", " + p1[2] + ", " + p1[3]);
    }
View Full Code Here

TOP

Related Classes of org.mojavemvc.tests.views.HTMLPage

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.