package act.fsa.views;

import act.boot.app.RunApp;
import act.controller.Controller;
import org.osgl.mvc.annotation.GetAction;

public class ViewsDemo extends Controller.Util {

    private String title = "ActFramework View Demo";

    @GetAction
    public void home(String who) {
        renderTemplate(title, who);
    }

    @GetAction("beetl")
    public void beetl(String who) {
        renderTemplate(title, who);
    }

    public static void main(String[] args) throws Exception {
        RunApp.start(ViewsDemo.class);
    }

}

@@ -224,16 +224,57 @@
 w Demo%22;
+%0A    private String who = %22ActFramework%22;
 %0A%0A    @G
@@ -303,26 +303,16 @@
 id home(
-String who
 ) %7B%0A    
@@ -396,26 +396,16 @@
 d beetl(
-String who
 ) %7B%0A    

update beetl demo