We create advanced criteria similar to this :
Later, after getting criterion from advanced criteria, and calling "criterion.getValueAsBoolean()", on both critera objects the result is "true". This is only happening when we deploy the application, in development mode exception is raised when .getValueAsBoolean() is called on non boolean criterion values.
Any ideas?
GWT 2.5.1
SmartGWT 4.0
Code:
advancedCriteria = new AdvancedCriteria(OperatorId.AND, new Criterion[]{
new Criterion("categoryLuCode", OperatorId.EQUALS, "outgoing"),
new Criterion("statusLuCode", OperatorId.EQUALS, "open")
});Later, after getting criterion from advanced criteria, and calling "criterion.getValueAsBoolean()", on both critera objects the result is "true". This is only happening when we deploy the application, in development mode exception is raised when .getValueAsBoolean() is called on non boolean criterion values.
Any ideas?
GWT 2.5.1
SmartGWT 4.0