Bug in Adempiere ZK WListbox component not rest the value for the column
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3108141
This commit is contained in:
parent
f4631da9a8
commit
d6dfbb39ff
|
@ -556,6 +556,8 @@ public class WListbox extends Listbox implements IMiniTable, TableValueChangeLis
|
|||
rsColOffset = 1;
|
||||
for (col = 0; col < m_layout.length; col++)
|
||||
{
|
||||
//reset the data value
|
||||
data=null;
|
||||
columnClass = m_layout[col].getColClass();
|
||||
rsColIndex = col + rsColOffset;
|
||||
|
||||
|
@ -607,6 +609,10 @@ public class WListbox extends Listbox implements IMiniTable, TableValueChangeLis
|
|||
{
|
||||
data = s.trim(); // problems with NCHAR
|
||||
}
|
||||
else
|
||||
{
|
||||
data=null;
|
||||
}
|
||||
}
|
||||
// store in underlying model
|
||||
getModel().setDataAt(data, row, col);
|
||||
|
|
Loading…
Reference in New Issue