Hi,
I'm trying to override the trasformRequest method to be able to send a dynamic token to the server.
This is what I do:
The datasource is bound to a listgrid.
The first fetch works correctly, the second one returns the following:
java.lang.StackOverflowError: null.
It seems to enter an infinite loop.
Am I doing something wrong?
Thanks
I'm trying to override the trasformRequest method to be able to send a dynamic token to the server.
This is what I do:
Code:
final DataSource dataSource = DataSource.get(ds, new RequestTransformer() { @Override protected Object transformRequest(DSRequest dsRequest) { return getDefaultTransformResponse(dsRequest); } }, null);
The first fetch works correctly, the second one returns the following:
java.lang.StackOverflowError: null.
It seems to enter an infinite loop.
Am I doing something wrong?
Thanks