I am working with Play 2.3.8.
In my views, some of my internationalized messages are not displayed.
I suspect a bug in play? The code @play.i18n.Messages.get("calendar.level.0.criterias.title")
works perfectly OUTSIDE of the if statement, but not inside. What is happening? Can I not use scala variables within some scala code?
here is my code:
@if (user == null) {
<p style="padding-bottom: 0px;">@play.i18n.Messages.get("calendar.level.0.criterias.title")</p>
}
` is displayed? if the p-tag does not show up, then @Tom is probably right and the problem lies with the if-clause.
– Peanut Apr 29 '15 at 15:04