//A direct action subclass, with only one method //that gets called from Main.wo import net.wotonomy.foundation.*; import net.wotonomy.web.*; public class OtherAction extends WODirectAction { public OtherAction(WORequest r) { super(r); } public WOActionResults linkTestAction() { System.out.println("creating and configuring Main.wo"); WOComponent page = pageWithName("Main"); page.takeValueForKey(false, "showTime"); page.takeValueForKey("direct action called", "textValue"); return page; } }