Hi,
I am using the incubators paging scroll table.
Every thing was working perfectly for my app. But today i "pushed" new Class
in my Model hierarchy and it stopped working.
Here are the details:
I have abstract class BaseOrderModel
class OrderModel extends BaseOrderModel
classOpenOrderModel extends OrderModel
So in my incubator table i use MutableTableModel<BaseOrderModel>
When i want to display OpenOrderModel i cast BaseOrderModel in the
@Override
public Widget getCellValue(final BaseOrderModel rowValue) {
final OpenOrderModel oom = (OpenOrderModel) rowValue;
.......
}
I it was working until i made changes in my hierarchy:
abstract class BaseOrderModel
abstract class PricingOrderModel
class OrderModel extends PricingOrderModel
classOpenOrderModel extends PricingOrderModel
after that i got : ClassCastException here :
This is in onSuccess that loads the orders from the server and pushes them
in the table
callback.onRowsReady(request, new
SerializableResponse<BaseOrderModel>(openOrders.values()));
Any suggestions?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.