Hi Isomorphic,
after your suggestion here, I'm implementing this (using v10.1p_2017-02-22).
Now I have this code:
This gets me this warning:
The signature of setCacheData() is setCacheData(Record... cacheData) so it should not warn when not setting ListGridRecords, should it?
EDIT: Testcase is here.
Best regards
Blama
after your suggestion here, I'm implementing this (using v10.1p_2017-02-22).
Now I have this code:
Code:
ArrayList<Record> recordList = new ArrayList<Record>(); Record r = new Record(); r.setAttribute(DISPLAYFIELD, mappedValue[0]); ... ... recordList.add(r); [B]ds.setCacheData(recordList.toArray(new Record[recordList.size()]));[/B]
WARN:Log:setCacheData(): DataSource cache data is expected to be an array of ListGridRecords. This allows the data to be displayed as expected in ListGrids bound to this dataSource.
EDIT: Testcase is here.
Best regards
Blama
Comment