Announcement

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

    ListGrid FilterData Throwing Exception

    Hello:

    I'm kind of stuck on a problem with the ListGrid filterData function. Here is a snippet of code that illustrates the problem:

    Code:
    Criteria ca = new Criteria();
    							
    ca.addCriteria("attributeID", Integer.valueOf(response.getData()[i].getAttribute("id")).intValue());
    _attributesList[i].setDataSource(ListSource.getCachedInstance());		
    _attributesList[i].setCriteria(ca);							
    _attributesList[i].filterData(ca,new DSCallback()
    {
    	public void execute(DSResponse response, Object rawData, DSRequest request) {
    });
    And that small piece of codes consistently throws the following exception:


    com.google.gwt.core.client.JavaScriptException: (TypeError): _3.selectString is not a function
    fileName: http://localhost:9995/myapp/myapp/sc/modules/ISC_DataBinding.js
    lineNumber: 2058
    stack: isc_RestDataSource_transformResponse([object Object],[object Object],[object Object])@http://localhost:9995/myapp/myapp/sc/modules/ISC_DataBinding.js:2058
    ([object GWTJavaObject],[object GWTJavaObject],[object Object])@http://localhost:9995:81
    @:0
    ([object GWTJavaObject],5832925,[object GWTJavaObject],[object GWTJavaObject],[object Object])@http://localhost:9995/myapp/myapp/hosted.html?myapp:56
    ([object Object],[object Object],[object Object])@http://localhost:9995:474
    ((function (dsResponse, dsRequest, data) {var jObj = this.__ref;if (jObj === undefined) {jObj = $wnd.isc.DS.get(this.inheritsFrom).__ref;}var responseJ = __gwt_makeJavaInvoke(1)(null, 4063313, dsResponse);var requestJ = __gwt_makeJavaInvoke(1)(null, 4128889, dsRequest);__gwt_makeJavaInvoke(3)(jObj, 5832925, responseJ, requestJ, data);}),[object Object],[object Object])@http://localhost:9995:72
    @:0
    (null,27,(function (dsResponse, dsRequest, data) {var jObj = this.__ref;if (jObj === undefined) {jObj = $wnd.isc.DS.get(this.inheritsFrom).__ref;}var responseJ = __gwt_makeJavaInvoke(1)(null, 4063313, dsResponse);var requestJ = __gwt_makeJavaInvoke(1)(null, 4128889, dsRequest);__gwt_makeJavaInvoke(3)(jObj, 5832925, responseJ, requestJ, data);}),[object Object],[object Object])@http://localhost:9995/myapp/myapp/hosted.html?myapp:56
    ([object Object],[object Object],[object Object])@http://localhost:9995:9
    isc_DataSource__completeResponseProcessing([object Object],[object Object],[object Object],[object Object],[object Object])@http://localhost:9995/myapp/myapp/sc/modules/ISC_DataBinding.js:524
    isc_DataSource__handleClientOnlyReply([object Object],[object Object],[object Object])@http://localhost:9995/myapp/myapp/sc/modules/ISC_DataBinding.js:380
    isc_c_Class_fireCallback([object Object],"rpcResponse,data,rpcRequest",[object Array],[object Object],(void 0))@http://localhost:9995/myapp/myapp/sc/modules/ISC_Core.js:282
    isc_Class_fireCallback([object Object],"rpcResponse,data,rpcRequest",[object Array])@http://localhost:9995/myapp/myapp/sc/modules/ISC_Core.js:376
    isc_c_RPCManager_fireReplyCallback([object Object],[object Object],[object Object],[object Object])@http://localhost:9995/myapp/myapp/sc/modules/ISC_DataBinding.js:1127
    isc_c_RPCManager_fireReplyCallbacks([object Object],[object Object])@http://localhost:9995/myapp/myapp/sc/modules/ISC_DataBinding.js:1130
    isc_c_RPCManager_performOperationReply([object Object],[object Object])@http://localhost:9995/myapp/myapp/sc/modules/ISC_DataBinding.js:1126
    isc_c_RPCManager__performTransactionReply(14)@http://localhost:9995/myapp/myapp/sc/modules/ISC_DataBinding.js:1122
    isc_c_Class_fireCallback([object Object],(void 0),[object Array],[object Object],true)@http://localhost:9995/myapp/myapp/sc/modules/ISC_Core.js:282
    isc_c_Timer__fireTimeout("$ir158")@http://localhost:9995/myapp/myapp/sc/modules/ISC_Core.js:1153
    @http://localhost:9995/myapp/myapp/sc/modules/ISC_Core.js:1148

    Any insight you can give me would be greatly appreciated.

    thanks,

    Chris
Working...
X