开发者

Multiline Messages in Message Bundles

I would like to make 开发者_Go百科use of the message bundles feature in grails, but always run into the problem that I need multiline messages for text (instructions or help text for example).

Is there a way to create multiline messages or do I have to create single line messages with <br />s or \ns in between?

Or is it the wrong approach for longer text?


I believe you can simply end the line with a trailing slash (\) and continue on the next line in Java Properties files.

See: http://www.rgagnon.com/javadetails/java-0503.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜