JieZhu / gwtquery-plugins

Automatically exported from code.google.com/p/gwtquery-plugins
0 stars 0 forks source link

DragAndDropCellList<T>(cell) does not work correctly with one argument only #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem : cannot instantiate 
cellList = new DragAndDropCellList<T>(cell);

when the it does work well with simple CellList<T>(cell).

Seems like the DragAndDropCellList ask the CellList to build a new CellList 
with arguments (cell, null, null).
But for only one argument, the CellList constructor is that one:

public CellList(final Cell<T> cell) {
    this(cell, getDefaultResources(), null);
  }

so, with null resources, it fails building the CellList, hence the DragAndDrop 
one

Original issue reported on code.google.com by jbthe...@qunb.com on 7 Feb 2011 at 11:23

GoogleCodeExporter commented 9 years ago

Original comment by julien.d...@gmail.com on 7 Feb 2011 at 6:53

GoogleCodeExporter commented 9 years ago
Fixed in r721
thanks for the bug reporting

Original comment by julien.d...@gmail.com on 7 Feb 2011 at 6:55

GoogleCodeExporter commented 9 years ago

Original comment by julien.d...@gmail.com on 7 Feb 2011 at 6:56