Ampersand notation not working in Play framework 2.0

The Hitman

New Member
I have a simple scala.html template created in a Playframework 2.0 project. If I reference messages with @Messages("message") \[code\]<div id="content"> @Messages("test")</div>\[/code\]the correct string is displayed. However, if I try to use the ampersand notation from the docs\[code\]<div id="content"> &{'test'}</div>\[/code\]it does not get replaced. What's the problem? I can't find the answere anywhere.
 
Back
Top