Multiline messages in message pools

I would like to use the message binding function in grails, but I always run into the problem that I need multi-line messages for text (like instructions or help text).

Is there a way to create multi-line messages, or do I need to create single-line messages with <br />or \nbetween?

Or is this the wrong approach for longer text?

+5
source share
1 answer

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

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

+9

All Articles