This is weird, I can't say you are wrong but this just doesn't work. There are many differences between the showcase example and this case:
- I'm trying to use a DS derived from GwtRpcDataSource which uses:
public GwtRpcDataSource () {
setDataProtocol(DSProtocol.CLIENTCUSTOM);
setDataFormat(DSDataFormat.CUSTOM);
setClientOnly (false);
}
- btw, if I comment out setDataProtocol(DSProtocol.CLIENTCUSTOM) the exception doesn't show up but of course nothing is displayed in the TileGrid;
- GwtRpcDataSource overrides transformRequest() and calls :
response.setData(listGridRecords);
processResponse(requestId, response);
- must be a combination of the above conditions and the fact that i'm trying to feed a TileGrid using ListGridRecords;
- again, exactly the same DS used with a ListGrid doesn't throw any error; this there's nothing about the TileGrid into the DS itself;
- my TileGrid works fine with a client only xml based DS, so the tile grid seems ok too;
- the same problem was reported by someone else on this thread
At this point I'll have to find a different approach/workaround. I'll also post a report in to the GwtRpcDataSource thread maybe someone else has any idea.
Thanks!
- I'm trying to use a DS derived from GwtRpcDataSource which uses:
public GwtRpcDataSource () {
setDataProtocol(DSProtocol.CLIENTCUSTOM);
setDataFormat(DSDataFormat.CUSTOM);
setClientOnly (false);
}
- btw, if I comment out setDataProtocol(DSProtocol.CLIENTCUSTOM) the exception doesn't show up but of course nothing is displayed in the TileGrid;
- GwtRpcDataSource overrides transformRequest() and calls :
response.setData(listGridRecords);
processResponse(requestId, response);
- must be a combination of the above conditions and the fact that i'm trying to feed a TileGrid using ListGridRecords;
- again, exactly the same DS used with a ListGrid doesn't throw any error; this there's nothing about the TileGrid into the DS itself;
- my TileGrid works fine with a client only xml based DS, so the tile grid seems ok too;
- the same problem was reported by someone else on this thread
At this point I'll have to find a different approach/workaround. I'll also post a report in to the GwtRpcDataSource thread maybe someone else has any idea.
Thanks!
Comment