Isomorphic,
I get the following error when trying to call a fetchData with AdvancedCriteria on a DataSource.
whereas it works fine when I use Criteria object instead.
the line setWillHandleAdvancedCriteria has no difference on the outcome.
version: SC_SNAPSHOT-2012-01-17_v8.2p/Enterprise Deployment 2012-01-17
Thanks.
I get the following error when trying to call a fetchData with AdvancedCriteria on a DataSource.
Code:
queueStatus: -1} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:662)
Code:
DSRequest graphDSRequest = new DSRequest(); graphDSRequest.setOperationId("summaryDirectionalAggregateGraph"); DataSource dataSource = DataSource.get("graphsodmidt"); dataSource.setWillHandleAdvancedCriteria(true); dataSource.fetchData(new AdvancedCriteria(), new DSCallback() { @Override public void execute(DSResponse dsResponse, Object o, DSRequest dsRequest) { } }, graphDSRequest);
version: SC_SNAPSHOT-2012-01-17_v8.2p/Enterprise Deployment 2012-01-17
Thanks.
Comment