OK. I found a solution:
Anyway It would be good to show such things in your "simple" examples instead of let "us" searching an hour in your really big documentation. Passing just one variable is simply too simple and not the normal use case, right?
Java code:
public String fromTemplate(final String templateContent) {
return Rythm.render(templateContent, this.movies);
}
HTML code:
@args() {
List<demo.movies.Movie> movies
}
<html><body>@for(demo.movies.Movie movie: movies){@movie.getTitle()<br/>}</body></html>
You example (for loop with list of "orders") ... you are not using package names. How did you handle that via Java code?
Regards,
Thomas