Re: HOW TO validate the first choice of IPropertySelectionModel

2006-04-28 Thread Ted Steen
Another way to do it is to wrap it in the LabeledPropertySelectionModel and then use "required" as validator, like this: /** .java **/ public abstract String getSex(); public IPropertySelectionModel getSexSelectionModel() { return new

RE: HOW TO validate the first choice of IPropertySelectionModel

2006-04-28 Thread Bode, Bianca
The validator doesnt reject it because 'choice' is a value as well, and thus valid. A validator cannot on it is own determine that 'choice' is an invalid value for a 'gender' field Besides that you also need to set an actual validator on your PropertySelection component, otherwise it will never wor