Leading and trailing white spaces are ignored when converting from a String.
164165166167168169170171172173174
5, null, true)); age.addValidator(new IntegerRangeValidator( "Must be between 0 and 150, {0} is not", 0, 150)); sex.setPageLength(0); deceased.setConverter(new StringToBooleanConverter() { @Override protected String getTrueString() { return "YAY!"; }