view.st Data Interface Definition
- .comment
- There will always be a message and if hadReplies is true then replies contains a list of replies.
- hasReplies.comment
- This is true if there are replies
- hasReplies
- true
- id.comment
- Need to use id for hidden name id
- id
- 0
- message.comment
- This is the message to be shown. You should show the Subject, Name, Email address, when submitted and contents
- message
-
- name
- Matthew Ford
- id
- 0
- contents
- This forum example is a WebStringTemplates version of Apache's Velocity forumdemo example.
- submitted
- Mon Jan 26 17:46:10 EST 2004
- email
- webstringtemplates@forward.com.au
- subject
- A first message for this Forum
- replies.comment
- This is the list of replies if any. Each item in the list has a Subject, Name, Email address, when submitted and contents
- replies
-
-
- name
- Joe Bloggs
- id
- om.Message.getId()
throw exception java.lang.reflect.InvocationTargetException
caused by java.lang.NullPointerException
- contents
- This is the first sample reply
- numberOfReplies
- 0
- replies
-
- submitted
- Mon Jan 26 17:47:01 EST 2004
- email
- blogs@hotmail.com
- subject
- RE: A first message for this Forum
-
- name
- Fred Nerk
- id
- om.Message.getId()
throw exception java.lang.reflect.InvocationTargetException
caused by java.lang.NullPointerException
- contents
- This is a second sample reply
- numberOfReplies
- 0
- replies
-
- submitted
- Mon Jan 26 17:47:24 EST 2004
- email
- nerk@hotmail.com
- subject
- RE: A first message for this Forum