Using the Scala template within the framework of the Java Play 2.0 platform, I want to output dynamic content encoded in HTML.
For instance:
<script type="text/javascript">
$("#@field.getId()").fieldList({
data: "@myUnencodedData"
})
</script>
Are there any built-in methods for this?
source
share