I have a module in which I cannot get the field names to display properly. There have been times where it does work, but rarely.
For example, I have been able to get it to do this:
But most of the time it looks like this
The property record looks like this
Noun=Kafka Setting
Noun.Plural=Kafka Settings
Brokers.Name=Brokers (ADDRESS:PORT)
Enabled.Name=Enabled
UseStoreAndFwd.Name=Use Store & Forward
UseSSL.Name=Use SSL
Source.Name=Source
DispPath.Name=Display Path
SrcPath.Name=Source Path
AlarmsEnabled.Name=Enable Alarms
AuditEnabled.Name=Enable Audit
Category.Configuration=Producer Settings
Category.Alarms=Alarm Settings
Category.Audit=Audit Settings
Usage Looks like this
public class KafkaSettingsRecord extends PersistentRecord {
public static final RecordMeta<KafkaSettingsRecord> META = new RecordMeta<KafkaSettingsRecord>(
KafkaSettingsRecord.class, "KafkaSettingsRecord").setNounKey("KafkaSettingsRecord.Noun").setNounPluralKey(
"KafkaSettingsRecord.Noun.Plural");
public static final IdentityField Id = new IdentityField(META);
//Kafka Settings
public static final StringField BrokerList = new StringField(META, "Brokers", SFieldFlags.SMANDATORY);
public static final BooleanField Enabled = new BooleanField(META, "Enabled").setDefault(false);
public static final BooleanField UseStoreAndFwd = new BooleanField(META, "UseStoreAndFwd").setDefault(false);
public static final BooleanField UseSSL = new BooleanField(META, "UseSSL").setDefault(false);
If anyone has experienced a similar issue in the past and has a way to fix it through code (not reseting the gateway) I’d appreciate the help fixing this non-critical, but visually very annoying problem.
Thanks,
Nick