Announcement

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

    transformRequest - stack overflow

    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:
    Code:
    final DataSource dataSource = DataSource.get(ds, new RequestTransformer() {
    @Override
    protected Object transformRequest(DSRequest dsRequest) {
    return getDefaultTransformResponse(dsRequest);
    				  
    		}
    	}, null);
    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
Working...
X