Fix [ 1881480 ] Navigation problem between tabs
Safer approach - just clear the key column from context
This commit is contained in:
parent
3491ac2745
commit
601b6ab46a
|
@ -2199,10 +2199,10 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
// you must be careful when defining a column in a detail tab with a field
|
// you must be careful when defining a column in a detail tab with a field
|
||||||
// with the same column name as some of the links of the tabs above
|
// with the same column name as some of the links of the tabs above
|
||||||
// this can cause bad behavior of linking
|
// this can cause bad behavior of linking
|
||||||
if (mField.getColumnName().equals(m_linkColumnName))
|
if (mField.isKey())
|
||||||
mField.setValue();
|
|
||||||
else
|
|
||||||
mField.setValueAndUpdateContext();
|
mField.setValueAndUpdateContext();
|
||||||
|
else
|
||||||
|
mField.setValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
loadDependentInfo();
|
loadDependentInfo();
|
||||||
|
|
Loading…
Reference in New Issue