Iterate over Scala list by index in template
Use JavaConversions to indirectly pass Scala list to template