ExampleRythm
Jump to navigation
Jump to search
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)