dimanche 31 août 2014

Test if first element in map transversal?


Vote count:

0




Is it possible to test to see how many times you've looped over the map?


Something like the following:



@item.itemImgs.map { img =>
@if(img._1) {
<html stuff>
}
}


The above is the Play Framework templating engine in a *.scala.html document.



asked 22 secs ago







Test if first element in map transversal?

Aucun commentaire:

Enregistrer un commentaire