From aedc34d55462a75e329bbf342251ff6504cd117e Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Sun, 19 May 2024 17:56:33 -0400 Subject: Initial import from SVN --- wotonomy-test/WEB-INF/classes/OtherAction.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 wotonomy-test/WEB-INF/classes/OtherAction.java (limited to 'wotonomy-test/WEB-INF/classes/OtherAction.java') diff --git a/wotonomy-test/WEB-INF/classes/OtherAction.java b/wotonomy-test/WEB-INF/classes/OtherAction.java new file mode 100644 index 0000000..00a3155 --- /dev/null +++ b/wotonomy-test/WEB-INF/classes/OtherAction.java @@ -0,0 +1,21 @@ +//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(new Boolean(false), "showTime"); + page.takeValueForKey("direct action called", "textValue"); + return page; + } + +} -- cgit v1.2.3