The following code works:
but this one not:
Printing ValidatorType.FLOATRANGE.getValue() shows "floatrange" (lowercase), so thats a problem, I think.
MichalG
ps SmartGWT svn 1200, GWT2
Code:
Validator validator = new Validator(); validator.setAttribute("type", "floatRange"); validator.setAttribute("max", 6); validator.setAttribute("min", 1);
Code:
Validator validator = new Validator(); validator.setType(ValidatorType.FLOATRANGE); validator.setAttribute("max", 6); validator.setAttribute("min", 1);
MichalG
ps SmartGWT svn 1200, GWT2