I'm using Tapestry 5.0.4 and have some localized fields getting messages
from message catalog for the page working correctly, but I cannot get an
application wide message catalog to work
In the page Target.html:
<input type="submit" t:type="Any" value="message:button.next"/>
(have also tried <input type="submit" t:type="Any" value="message:
button.next"/> )
In web.xml:
<filter>
<filter-name>app</filter-name>
<filter-class>org.apache.tapestry.TapestryFilter
</filter-class>
</filter>
So from what I have read about the global message catalog coming from the
name of the filter, I should put a file here
WEB-INF/app.properties:
button.next=Next
But this gives me the message on my button: [[missing key: button.next]]
I have put button.next into Target.properties and it found it.
Target.properties was sitting in the same folder as Target.java.
So have I called it the wrong name or put it in the wrong place?
Thanks for any help,
--
Jason Lea