Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.1.0.BETA2
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Workaround Exists:Yes
-
Workaround Description:Extend RowStateMap and overwrite the method.
Description
In method (of RowStateMap):
private class EditingPredicate implements Predicate {
String id;
public EditingPredicate(UIComponent editor) {
id = editor.getId();
}
public boolean evaluate(Object object) {
if (object instanceof Entry)
if (((RowState)((Entry)object).getValue()).activeCellEditorIds.contains(object))
return true;
return false;
}
}
the parameter "object" in if (((RowState)((Entry)object).getValue()).activeCellEditorIds.contains(object))
must be "id"
The right code should be:
if (((RowState)((Entry)object).getValue()).activeCellEditorIds.contains(id))
private class EditingPredicate implements Predicate {
String id;
public EditingPredicate(UIComponent editor) {
id = editor.getId();
}
public boolean evaluate(Object object) {
if (object instanceof Entry)
if (((RowState)((Entry)object).getValue()).activeCellEditorIds.contains(object))
return true;
return false;
}
}
the parameter "object" in if (((RowState)((Entry)object).getValue()).activeCellEditorIds.contains(object))
must be "id"
The right code should be:
if (((RowState)((Entry)object).getValue()).activeCellEditorIds.contains(id))
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion