My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Fixed
Owner:  bartolom...@gmail.com
Closed:  Dec 2009


 
Project Member Reported by bartolom...@gmail.com, Nov 10, 2009
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
(No comment was entered for this change.)
Labels: -Priority-Medium Priority-High
Dec 3, 2009
#2 qk.arame...@gmail.com
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
Project Member #3 bartolom...@gmail.com
Thanks Oscar

your diagnosis is right

i've, simply, removed static modifier and seems that all works well




Status: Fixed
Dec 4, 2009
Project Member #4 bartolom...@gmail.com
I've implemented  solution proposed by oscar@softwarepills.com (see comment 2)

the fix is deployed in last SNAPSHOT

Powered by Google Project Hosting