Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8, EE-3.3.0.GA_P01
-
Fix Version/s: EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:jsf 2 ace component dataTable
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
docs and examples should show requirement of ace:dataTable backing beans to implement the following 2 methods:-
public boolean equals(Object o);
public int hashCode();
public boolean equals(Object o);
public int hashCode();
Issue Links
- depends on
-
ICE-9859 ace:dataTable, lazy="true", used with RowStateMap and rowSelectListener does not highlight selected Row
- Closed
Improved ace:dataTable article in the wiki and added sections that explain the need to implement custom hashCode() and equals() methods, general approach and important details of the lazy loading mode, advise for styling the table in a custom way, and other details.
At revision 41330 committed these changes to the showcase: added Car.java to the resource viewer of the Lazy Loading and Row State demos; added explanations regarding the custom implementations of hashCode() and equals() in the data object.
At revision 41331 added notes about the need to implement custom hashCode() and equals() methods in the ace:dataTable meta class.