Hello everyone,
I think I found some bug in v9.0p_2013-07-07/Pro Deployment).
I saved the criteria of my ListGrid into a record, saving this one into my DB:
I reuse it like this:
This works just fine, except for the following filter:
crit.values() returns:
The filter itself works just fine. Problem is: I don't see the marked entries in my Filter. Additionally, marking let's say "value03" and "value02" results in something like:
Meaning the user has no access to the previously set criterias.
Hopefully this can be fixed. Or is there a workaround?
Thank you very much for any answer in advance,
Dennis Hardy.
I think I found some bug in v9.0p_2013-07-07/Pro Deployment).
I saved the criteria of my ListGrid into a record, saving this one into my DB:
Code:
record.setAttribute("CRITERIA", JSOUtils.encode(listGrid.getFilterEditorCriteria(true).asAdvancedCriteria().getJsObj()));Code:
AdvancedCriteria crit = new AdvancedCriteria(JSOUtils.decode(critString));
fetchData(crit);Code:
SelectItem someFilterItem = new SelectItem("somefilter");
someFilterItem.setMultiple(true);
someField.setFilterEditorProperties(someFilterItem);Code:
{_constructor=AdvancedCriteria, operator=and, criteria=[{_constructor=AdvancedCriteria, operator=or, criteria=[{fieldName=someField, operator=iContains, value=value01}, {fieldName=someField, operator=iContains, value=value02}]}], $H=1}Code:
(value01||value02)&&(value02||value03)Hopefully this can be fixed. Or is there a workaround?
Thank you very much for any answer in advance,
Dennis Hardy.