I am new to play frame work and i am finding it bit difficult. i am retrieving list of client names from data base and populating it to a dropdown ,here is my client.java c
Yeah, unfortunately Play's templates system is Scala based so you'll have to map over the your @ClientDetails:
@ClientDetails.map { clientName => @clientName }
If you return more complex objects it could look more like this:
@ClientDetails.map { client => @client.name }
I hope this helps!