Hi,
I am currently evaluating SmartGWT and I downloaded the latest SmartGWT Pro/EE 2.0 evaluation package. I imported the showcase sample and ran
the DMI example.
I noticed that when I add/update a record, the grid seems to get updated correctly, but I see the below debug error msg on the Eclipse console. If
I quit and restart the application, the additions/edits are all gone. Is this
a problem with the sample example or with SmartGWT EE verion? I haven't
touched the code - just imported the whole showcase project into Eclipse
and ran the example.
Thanks.
PS: It's the same case with version 1.2.1 too.
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG RPCManager - Processing 1 requests.
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
itemID:0
},
values:{
SKU:"45300",
category:"Adding Machine/calculator Roll",
description:"Custom",
inStock:false,
itemID:0,
itemName:"Adding Machine Roll 57x57mm Standard",
nextShipment:new Date(1261112400000),
unitCost:0.41,
units:"Roll",
_selection_3:true
},
operationConfig:{dataSource:"supplyItemDMI", operationType:"update"},
componentId:"isc_OID_31",
appID:"builtinApplication",
operation:"supplyItemDMI_update",
oldValues:{
SKU:"45300",
category:"Adding Machine/calculator Roll",
description:null,
inStock:false,
itemID:0,
itemName:"Adding Machine Roll 57x57mm Standard",
nextShipment:null,
unitCost:0.41,
units:"Roll",
_selection_3:true
}
}
=== 2009-12-18 15:19:07,202 [l0-0] INFO IDACall - Performing 1 operation(s)
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - adaptArgsAndInvoke:
public com.smartgwt.sample.showcase.server.SupplyItem com.smartgwt.sample.showcase.server.SupplyItemDMI.update(java.util.Map) throws java.lang.Exception
requiredArgs: [] optionalArgs: [com.isomorphic.servlet.RequestContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext, javax.servlet.http.HttpSession, com.isomorphic.rpc.RPCManager, com.isomorphic.datasource.DSRequest, com.isomorphic.datasource.DataSource, java.util.Map]
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: com.isomorphic.servlet.RequestContext fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletRequest fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletResponse fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: javax.servlet.ServletContext fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: javax.servlet.http.HttpSession fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: com.isomorphic.rpc.RPCManager fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: com.isomorphic.datasource.DSRequest fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: com.isomorphic.datasource.DataSource fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.util.Map fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.Boolean fulfills type: java.lang.Boolean
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.Long fulfills type: java.lang.Long
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.util.Date fulfills type: java.util.Date
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.Double fulfills type: java.lang.Double
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.Boolean fulfills type: java.lang.Boolean
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - Successfully adapted optional arg type: java.util.Map to type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - method takes: 1 args. I've assembled: 1 args
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - invoking method:
com.smartgwt.sample.showcase.server.SupplyItem com.smartgwt.sample.showcase.server.SupplyItemDMI.update(java.util.Map) throws java.lang.Exception
with arg types: org.apache.commons.collections.map.LinkedMap
setProperties: couldn't set:
{_selection_3:"No such property"}
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG RPCManager - DMI response, dropExtraFields: true
=== 2009-12-18 15:19:07,202 [l0-0] INFO Compression - /showcase/sc/IDACall: 496 -> 282 bytes
I am currently evaluating SmartGWT and I downloaded the latest SmartGWT Pro/EE 2.0 evaluation package. I imported the showcase sample and ran
the DMI example.
I noticed that when I add/update a record, the grid seems to get updated correctly, but I see the below debug error msg on the Eclipse console. If
I quit and restart the application, the additions/edits are all gone. Is this
a problem with the sample example or with SmartGWT EE verion? I haven't
touched the code - just imported the whole showcase project into Eclipse
and ran the example.
Thanks.
PS: It's the same case with version 1.2.1 too.
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG RPCManager - Processing 1 requests.
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
itemID:0
},
values:{
SKU:"45300",
category:"Adding Machine/calculator Roll",
description:"Custom",
inStock:false,
itemID:0,
itemName:"Adding Machine Roll 57x57mm Standard",
nextShipment:new Date(1261112400000),
unitCost:0.41,
units:"Roll",
_selection_3:true
},
operationConfig:{dataSource:"supplyItemDMI", operationType:"update"},
componentId:"isc_OID_31",
appID:"builtinApplication",
operation:"supplyItemDMI_update",
oldValues:{
SKU:"45300",
category:"Adding Machine/calculator Roll",
description:null,
inStock:false,
itemID:0,
itemName:"Adding Machine Roll 57x57mm Standard",
nextShipment:null,
unitCost:0.41,
units:"Roll",
_selection_3:true
}
}
=== 2009-12-18 15:19:07,202 [l0-0] INFO IDACall - Performing 1 operation(s)
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - adaptArgsAndInvoke:
public com.smartgwt.sample.showcase.server.SupplyItem com.smartgwt.sample.showcase.server.SupplyItemDMI.update(java.util.Map) throws java.lang.Exception
requiredArgs: [] optionalArgs: [com.isomorphic.servlet.RequestContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext, javax.servlet.http.HttpSession, com.isomorphic.rpc.RPCManager, com.isomorphic.datasource.DSRequest, com.isomorphic.datasource.DataSource, java.util.Map]
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: com.isomorphic.servlet.RequestContext fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletRequest fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletResponse fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: javax.servlet.ServletContext fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: javax.servlet.http.HttpSession fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: com.isomorphic.rpc.RPCManager fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: com.isomorphic.datasource.DSRequest fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: com.isomorphic.datasource.DataSource fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.util.Map fulfills type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.Boolean fulfills type: java.lang.Boolean
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.Long fulfills type: java.lang.Long
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.util.Date fulfills type: java.util.Date
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.Double fulfills type: java.lang.Double
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - checking whether type: java.lang.Boolean fulfills type: java.lang.Boolean
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - Successfully adapted optional arg type: java.util.Map to type: java.util.Map
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - method takes: 1 args. I've assembled: 1 args
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG Reflection - invoking method:
com.smartgwt.sample.showcase.server.SupplyItem com.smartgwt.sample.showcase.server.SupplyItemDMI.update(java.util.Map) throws java.lang.Exception
with arg types: org.apache.commons.collections.map.LinkedMap
setProperties: couldn't set:
{_selection_3:"No such property"}
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
=== 2009-12-18 15:19:07,202 [l0-0] DEBUG RPCManager - DMI response, dropExtraFields: true
=== 2009-12-18 15:19:07,202 [l0-0] INFO Compression - /showcase/sc/IDACall: 496 -> 282 bytes
Comment