Announcement

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

    Save criteria of FilterBuilder?

    Hi,

    Is it possible to save the criteria created by filterbuilder? I have tried so far something like
    Code:
    JSONEncoder encoder = new JSONEncoder();
    encoder.setDateFormat(JSONDateFormat.DATE_CONSTRUCTOR);
    String criteriaValue = JSON.encode(advancedFilter.getCriteria(true).getJsObj(), encoder);
    GWT.log("A:"+criteriaValue);
    But it doesnt work. Is it possible to save the criteria? The idea is to store the crit in s database and the user can retrieve it later.

    Thx
Working...
X