Author: nbelaevski
Date: 2007-10-16 10:03:46 -0400 (Tue, 16 Oct 2007)
New Revision: 3396
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java
Log:
Missing row availability check after new model key has been set added
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java 2007-10-16
13:11:59 UTC (rev 3395)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java 2007-10-16
14:03:46 UTC (rev 3396)
@@ -276,6 +276,7 @@
// integer and key value.
localModel.setRowIndex(index);
+ rowAvailable = isRowAvailable();
this._rowKey = localModel.getRowKey();
this._clientId = null;
@@ -337,6 +338,7 @@
localModel.setRowKey(key);
+ rowAvailable = isRowAvailable();
boolean rowSelected = key != null && rowAvailable;
//XXX check for row availability