I have loop in view tier of playframework application.
@for(art <- currentPage.getArticles()) {
}
Where method: getArticles()
returns object of: List<ArticleI>
.
I would like to get index value inside this loop.
How can I achive this?
I use Play 2.2.6
with Java
and Eclipse IDE
.
The eclipse plugin for play is very very bad. If it would work, I think that with intelisense I will figure this out on my own.