Bug in IntegerValidator
Brought to you by:
amayen
Hi,
there is a Bug in the constructor of the Class IntegerValidator.
You can pass in a customMessageKey, but this key is never mapped in the constructor. This happens with the following constructor:
public IntegerValidator(TextBoxBase text, String customMsgKey) {
this(text, false);
this.noMinMax = true;
}
should be:
public IntegerValidator(TextBoxBase text, String customMsgKey) {
this(text, false);
this.noMinMax = true;
this.setCustomMsgKey(customMsgKey);
}
Hi, thanks for noting, I will correct this!
Regards, Anatol