Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    validator.setType() does not work

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