ICEfaces
  1. ICEfaces
  2. ICE-9900

Update docs, showcase and qa examples for ace:dataTable to implement hashCode and equals methods

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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();
       

        Issue Links

          Activity

          Hide
          Judy Guglielmin added a comment -

          see ICE-9859 for example of one such case.

          Show
          Judy Guglielmin added a comment - see ICE-9859 for example of one such case.
          Hide
          Judy Guglielmin added a comment -

          for assignment. Is this required on all examples or just rowStateMap? If someeone clarifies this is docs, I'll implement in the examples....

          Show
          Judy Guglielmin added a comment - for assignment. Is this required on all examples or just rowStateMap? If someeone clarifies this is docs, I'll implement in the examples....
          Hide
          Arturo Zambrano added a comment -

          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.

          Show
          Arturo Zambrano added a comment - 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.

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: