Is there a way to pass the value from a Scala parameter to Java on the view using the Play Framework?
Something like:
<strong>Title: </strong> @addtitle
<a href="@routes.Application.shopping()" value="Add to Cart"
class="btn btn-primary btn-xs">@Messages("playauthenticate.results.shopping")
</a>
But I wanna put the @addtitle
as a parameter to the @routes.Application.shopping(@addtitle)
I'm using Play Framework 2.2.0.