r4nd7263
13 Oct 2011, 5:18 AM
ListField has no setValidator method.
According to API, I override validateValue() and that works, but how do I set the error text?
I tried
this.getMessages().setInvalidText("A selection is required.");
in validateValue() before I return false.
According to API, I override validateValue() and that works, but how do I set the error text?
I tried
this.getMessages().setInvalidText("A selection is required.");
in validateValue() before I return false.