We moved from SmartGWT 2.0 to SmartGWT 2.4. We have a filtered listgrid with autofetchdata set to false and filteronkeypress set to true. Some fields are strings, but we have one field as a date.
So, in executeFetch, this was our previous code:
Map<String, String> filterMap = DSrequest.getCriteria().getValues().
This would generate a name/value map that we would send down to our back end. Nice and simple.
Now, it 2.4, the date field is really a date range. In retrospect, this may be a good thing for our UI. But I am having difficulty working with it. I realize that I am now working with AdvancedCriteria objects, but I can't seem to figure out how to get the names and values out of the object. Using the debugger, I seem to be in an endless loop of HashMaps. I am sure I am missing something.
So, in executeFetch, this was our previous code:
Map<String, String> filterMap = DSrequest.getCriteria().getValues().
This would generate a name/value map that we would send down to our back end. Nice and simple.
Now, it 2.4, the date field is really a date range. In retrospect, this may be a good thing for our UI. But I am having difficulty working with it. I realize that I am now working with AdvancedCriteria objects, but I can't seem to figure out how to get the names and values out of the object. Using the debugger, I seem to be in an endless loop of HashMaps. I am sure I am missing something.
Comment