diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-05-21 17:52:46 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-05-21 17:52:46 -0400 |
| commit | 3403adc8ac690439605072f9c4dc30995abac99f (patch) | |
| tree | bf039d2cab23157aeb8721328cfb4845bc7b7958 /wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo | |
| parent | 8283e417245b26abd290f7e6fd0511869802fc82 (diff) | |
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
Diffstat (limited to 'wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo')
| -rw-r--r-- | wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html | 1 | ||||
| -rw-r--r-- | wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod | 53 |
2 files changed, 32 insertions, 22 deletions
diff --git a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html index 6729a94..03d5f83 100644 --- a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html +++ b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html @@ -1,5 +1,6 @@ <HTML> <HEAD><TITLE>MyTest</TITLE></HEAD> + <BODY> <WEBOBJECT NAME=showTime> diff --git a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod index 16bd25e..57b5656 100644 --- a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod +++ b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod @@ -1,22 +1,31 @@ -<HTML> -<HEAD><TITLE>MyTest</TITLE></HEAD> -<BODY> - -<WEBOBJECT NAME=showTime> -The time is <WEBOBJECT NAME=time></WEBOBJECT>. -<BR><BR> -</WEBOBJECT> -<WEBOBJECT NAME=timeLink></WEBOBJECT> - -<WEBOBJECT NAME=FORM> -Here's a textfield: <WEBOBJECT NAME=textfield></WEBOBJECT> -<WEBOBJECT NAME=submit></WEBOBJECT> -</WEBOBJECT> - -<BR><BR> -Here's a link to an <WEBOBJECT NAME=EXTLINK>external site</WEBOBJECT>. -<BR> -And here's a link to a <WEBOBJECT NAME=DIRLINK>direct action</WEBOBJECT> (not implemented yet). - -</BODY> -</HTML> +showTime : WOConditional { + +} + +time: WOString { + +} + +timeLink : WOHyperlink { + +} + +FORM : WOForm { + +} + +textfield : WOTextField { + +} + +submit : WOSubmitButton { + +} + +EXTLINK : WOHyperlink { + +} + +DIRLINK : WOHyperlink { + +} |
