summaryrefslogtreecommitdiff
path: root/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo
diff options
context:
space:
mode:
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.html4
-rw-r--r--wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod8
2 files changed, 11 insertions, 1 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 48143bd..750a74f 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
@@ -9,12 +9,14 @@
</div>
<div class = "row">
<div class = "leftcolumn">
+ <webobject name="cardlist">
<div class = "card">
- <h2>TITLE HEADING</h2>
+ <h2><webobject name="entryTitle"></webobject></h2>
<h5>Title description, Dec 7, 2017</h5>
<div class = "fakeimg" style = "height:200px;"> Image </div>
<p>Some text..</p>
</div>
+ </webobject>
<div class = "card">
<h2>TITLE HEADING</h2>
<h5>Title description, Sep 2, 2017</h5>
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 e69de29..a4349b4 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
@@ -0,0 +1,8 @@
+cardlist : WORepetition {
+ list = application.blogEntries;
+ item = blogEntry;
+}
+
+entryTitle : WOString {
+ value = blogEntry.title;
+} \ No newline at end of file