Announcement

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

    Incorrect Construction of Advanced Criteria with 'BETWEEN' Criterion

    SmartGWT 2.4, Firefox 3,4 and Chrome 10.

    Code:
    Criterion criterion = new Criterion("itemCount",OperatorId.BETWEEN);
    criterion.setAttribute("start", 1);
    criterion.setAttribute("end", 10);
    AdvancedCriteria  queryCrit = new AdvancedCriteria(criterion);
    When inspected, printed out, or sent to the server:
    Code:
    {"operator":"between","fieldName":"itemCount"}
    Expected value is:
    Code:
    {"fieldName":"itemCount","operator":"between","start":"1","end":"10"}
    ]
Working...
X