Fix [ 1881480 ] Navigation problem between tabs

Safer approach - just clear the key column from context
This commit is contained in:
Carlos Ruiz 2008-01-29 00:42:55 +00:00
parent 3491ac2745
commit 601b6ab46a
1 changed files with 3 additions and 3 deletions

View File

@ -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
// with the same column name as some of the links of the tabs above
// this can cause bad behavior of linking
if (mField.getColumnName().equals(m_linkColumnName))
mField.setValue();
else
if (mField.isKey())
mField.setValueAndUpdateContext();
else
mField.setValue();
}
}
loadDependentInfo();