Hello,
I am having trouble implementing my .properties file.
I have thus far successfully been able to add the bundle to my GatewayHook, and the gateway shows my config panel on the side bar. However, when I click it, I get the following error in the gateway logs:
Caused by: java.util.MissingResourceException: Unable to find property: 'Teams.PageTitle' for component: config-contents:main-title [class=com.inductiveautomation.ignition.gateway.web.components.ConfigPanel$2]. Locale: null, style: null
at org.apache.wicket.Localizer.getString(Localizer.java:237)
I am sure I am incorrectly configuring the .properties file in some way, but I have tried several different solutions (moving the file to the same directory as the GatewayHook, placing it in a ‘resources’ directory that mirrors the ‘java’ directory structure)
Some of my code for reference:
BundleUtil.get().addBundle("Teams", getClass(), "Teams");
@Override
protected String getTitleKey() {
return "Teams.PageTitle";
}
Any help is greatly appreciated