Hi,
I have a problem with lookup column grid.
I need this kind of column to select a Integer id.
When I select a row to set a integer value into this filed, openswing return the following exception:
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.openswing.swing.table.model.client.VOListAdapter.setField(VOListAdapter.java:408)
at org.openswing.swing.table.model.client.VOListAdapter.setField(VOListAdapter.java:316)
Seem like this kind of column can't contain integer value,but only string one. Is it right?
There is some workaround to succed in use this kind of column for Integer value.
Please could you help me?
Thanks in advance.
Anonymous
Openswing accept only int value and not Integere value.
With int codlookupColumn openswing behave in a correct way, with Integer I have exception.
Thanks