Difference between revisions of "ExampleRythm"
Jump to navigation
Jump to search
(pushed from http://media.bitplan.com) |
(No difference)
|
Latest revision as of 10:41, 27 April 2020
template1
@args String name
Ok @name - here we go
defs
@include(wiki.ExampleRythm.java)
@{
Topic topic=new Topic();
topic.name="testTopic";
}
@def showTopic(Topic topic) {
@if (topic) {
@(topic.name)
}
}
java
@import com.bitplan.topic.TopicStatic.Topic
showtopic
@include(wiki.ExampleRythm.defs)
testTopic=@showTopic(topic)