Sunday, 15 March 2015

java - @implicit Lang not working in template after upgrading to play 2.1.0 -



java - @implicit Lang not working in template after upgrading to play 2.1.0 -

this working me in play 2.0.2, after upgrading 2.1.0 strings in default language:

@(licenserequestform: form[licenserequest], generatedlicense: nl.avisi.langur.license.license, lang: string) @implicitlang = @{ new lang(lang) } <h2>@messages("license.form.title")</h2>

any thought why implicitlang not beingness picked in version 2.1.0?

this seems regression.

the temporary workaround pass lang explicitly messages, i.e. <h2>@messages("license.form.title")(implicitlang)</h2>.

java playframework-2.0

No comments:

Post a Comment