| Issue 34: | Error on binding when two table are rendered on same dialog | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I've detec an error on binding (IndexOutOfBoundException) when two table are rendered on same dialog The Tables render same Type of data (i.e. same bean)
Nov 19, 2009
Project Member
#1
bartolom...@gmail.com
Labels:
-Priority-Medium Priority-High
Dec 3, 2009
I think this occurs whenever you use more than one table in the application. The problem is the static var you have in BindingUtil.Column. It's posible to fix this error adding tc.setModelIndex(table.getColumnModel().getColumnCount()); before table.getColumnModel().addColumn(tc); in the Parser class.
Dec 3, 2009
Thanks Oscar your diagnosis is right i've, simply, removed static modifier and seems that all works well
Status:
Fixed
Dec 4, 2009
I've implemented solution proposed by oscar@softwarepills.com (see comment 2) the fix is deployed in last SNAPSHOT |