Hi all,
I am using SmartGWT 2.3 and Firefox 6.0.
I modified the DataSourceDMI sample by adding a REMOVE button and set a breakpoint in SupplyItemDMI.java's remove() method.
When I select a record and then click the REMOVE button, the debugger stop, I noticed that only the itemID in the SupplyItem bean is populated, all other fields are null. When I viewed RPC request in Developer Console, the request contain the SupplyItem bean and is fully populated.
I thought the server suppose to populate the SupplyItem bean using data from the request before invoking the remove() method, am I corrected?
I am using SmartGWT 2.3 and Firefox 6.0.
I modified the DataSourceDMI sample by adding a REMOVE button and set a breakpoint in SupplyItemDMI.java's remove() method.
When I select a record and then click the REMOVE button, the debugger stop, I noticed that only the itemID in the SupplyItem bean is populated, all other fields are null. When I viewed RPC request in Developer Console, the request contain the SupplyItem bean and is fully populated.
I thought the server suppose to populate the SupplyItem bean using data from the request before invoking the remove() method, am I corrected?
Code:
public SupplyItem remove(SupplyItem record) throws Exception { log.info("procesing DMI remove operation"); // on a removal, just return return SupplyItemStore.removeItem(record.getItemID()); }
Comment