From 3403adc8ac690439605072f9c4dc30995abac99f Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Tue, 21 May 2024 17:52:46 -0400 Subject: More work on getting a working example Took a little bit, but I fixed the bindings and found the place where they are supposed to be --- wotonomy-web-test/src/main/java/Main.wo/Main.html | 22 ---------------------- wotonomy-web-test/src/main/java/Main.wo/Main.wod | 22 ---------------------- wotonomy-web-test/src/main/java/OtherAction.java | 2 +- 3 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 wotonomy-web-test/src/main/java/Main.wo/Main.html delete mode 100644 wotonomy-web-test/src/main/java/Main.wo/Main.wod (limited to 'wotonomy-web-test/src/main/java') diff --git a/wotonomy-web-test/src/main/java/Main.wo/Main.html b/wotonomy-web-test/src/main/java/Main.wo/Main.html deleted file mode 100644 index 6729a94..0000000 --- a/wotonomy-web-test/src/main/java/Main.wo/Main.html +++ /dev/null @@ -1,22 +0,0 @@ - -MyTest - - - -The time is . -

-
- - - -Here's a textfield: - - - -

-Here's a link to an external site. -
-And here's a link to a direct action. - - - diff --git a/wotonomy-web-test/src/main/java/Main.wo/Main.wod b/wotonomy-web-test/src/main/java/Main.wo/Main.wod deleted file mode 100644 index 16bd25e..0000000 --- a/wotonomy-web-test/src/main/java/Main.wo/Main.wod +++ /dev/null @@ -1,22 +0,0 @@ - -MyTest - - - -The time is . -

-
- - - -Here's a textfield: - - - -

-Here's a link to an external site. -
-And here's a link to a direct action (not implemented yet). - - - diff --git a/wotonomy-web-test/src/main/java/OtherAction.java b/wotonomy-web-test/src/main/java/OtherAction.java index 00a3155..95e840a 100644 --- a/wotonomy-web-test/src/main/java/OtherAction.java +++ b/wotonomy-web-test/src/main/java/OtherAction.java @@ -13,7 +13,7 @@ public class OtherAction extends WODirectAction { public WOActionResults linkTestAction() { System.out.println("creating and configuring Main.wo"); WOComponent page = pageWithName("Main"); - page.takeValueForKey(new Boolean(false), "showTime"); + page.takeValueForKey(false, "showTime"); page.takeValueForKey("direct action called", "textValue"); return page; } -- cgit v1.2.3