Unable to update always updateable lookup field
This commit is contained in:
parent
4ea2b2fe24
commit
c9e983e3fb
|
@ -49,7 +49,19 @@ public class GridTabDataBinder implements ValueChangeListener {
|
||||||
Object source = e.getSource();
|
Object source = e.getSource();
|
||||||
if (source instanceof WEditor)
|
if (source instanceof WEditor)
|
||||||
{
|
{
|
||||||
if (!((WEditor)source).isReadWrite())
|
// Elaine 2009/05/06
|
||||||
|
WEditor editor = (WEditor) source;
|
||||||
|
GridField gridField = editor.getGridField();
|
||||||
|
|
||||||
|
if(gridField != null)
|
||||||
|
{
|
||||||
|
if(!gridField.isEditable(true))
|
||||||
|
{
|
||||||
|
logger.config("(" + gridTab.toString() + ") " + e.getPropertyName());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if(!editor.isReadWrite())
|
||||||
{
|
{
|
||||||
logger.config("(" + gridTab.toString() + ") " + e.getPropertyName());
|
logger.config("(" + gridTab.toString() + ") " + e.getPropertyName());
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue