ExampleRythm

From BITPlan Wiki
Revision as of 09:41, 27 April 2020 by Wf (talk | contribs) (pushed from http://media.bitplan.com)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)