Help Balloons in Grails

I use the help-balloons plugin I would like to use it parameterized. I mean, messages must come from a properties file. The following appears in the documentation:

 <g:helpBalloon code="user.name" suffix=".help"/>

In this last example, the code attribute is used to find the balloon header in the message packet, and then the suffix (creating user.name.help in our example) is added to the code as the key that will be used to view the contents of the balloon.

My question is:

Where should this properties file (message set) be located?

Can I have one message packet per controller?

Louis

+3
source share

Source: https://habr.com/ru/post/1707330/


All Articles