Reputation: 1
Accessing index.properties name-value is easy in a tml, one simply uses ${message.greeting} in index.tml
<h1>${message:greeting}</h1>
How does one access a name-value called welcome from the app's general app.properties file in index.tml?
Upvotes: 0
Views: 416
Reputation: 754
It's done exactly the same way. Tapestry first looks in the page's property file, if any, and then in app.properties.
<h1>${message:welcome}</h1>
See https://tapestry.apache.org/localization.html
Upvotes: 1