131415161718192021
public IndexPage(Result result) { super(result, "/"); } public IndexPage save(String msg) { Form form = form(0); form.set("test", msg); return new IndexPage(form.submitName("Save")); }