diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-05-19 17:56:33 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-05-19 17:56:33 -0400 |
| commit | aedc34d55462a75e329bbf342251ff6504cd117e (patch) | |
| tree | bcc8f1f2352582717b484df302aeea6696b8f000 /wotonomy-test/WEB-INF/classes/OtherAction.java | |
Initial import from SVN
Diffstat (limited to 'wotonomy-test/WEB-INF/classes/OtherAction.java')
| -rw-r--r-- | wotonomy-test/WEB-INF/classes/OtherAction.java | 21 |
1 files changed, 21 insertions, 0 deletions
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; + } + +} |
