ICEfaces
  1. ICEfaces
  2. ICE-11399

Re-engineer the Find functionality on ace:dataTable to avoid using binding

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.2.0.GA
    • Fix Version/s: 4.3, EE-3.3.0.GA_P06
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      Because the use of the 'binding' attribute is not a recommended practice, it is necessary to implement an alternative approach for the Find functionality on ace:dataTable that doesn't involve component binding.

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52440 Thu May 10 15:30:06 MDT 2018 art.zambrano ICE-11399 added alternative approach for ace:dataTable find requests that doesn't involve component binding
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableMeta.java
        Hide
        Arturo Zambrano added a comment -

        r52440: added alternative approach for ace:dataTable find requests that doesn't involve component binding

        Show
        Arturo Zambrano added a comment - r52440: added alternative approach for ace:dataTable find requests that doesn't involve component binding
        Ken Fyten made changes -
        Fix Version/s 4.3 [ 13096 ]
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52441 Thu May 10 16:10:44 MDT 2018 art.zambrano ICE-11399 added missing class
        Files Changed
        Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/event/DataTableFindEvent.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52442 Fri May 11 17:39:08 MDT 2018 art.zambrano ICE-11399 queued the DataTableFindEvent to the Invoke Application phase, so that all model values are updated on the server, when the find query is executed
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Hide
        Arturo Zambrano added a comment -

        r52442: queued the DataTableFindEvent to the Invoke Application phase, so that all model values are updated on the server, when the find query is executed

        Show
        Arturo Zambrano added a comment - r52442: queued the DataTableFindEvent to the Invoke Application phase, so that all model values are updated on the server, when the find query is executed
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52443 Fri May 11 17:45:49 MDT 2018 art.zambrano ICE-11399 updated ace:dataTable > Find demo to use new technique
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dataTable/DataTableFind.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableFind.xhtml
        Hide
        Arturo Zambrano added a comment -

        r52443: updated ace:dataTable > Find demo to use new technique

        Show
        Arturo Zambrano added a comment - r52443: updated ace:dataTable > Find demo to use new technique
        Hide
        Arturo Zambrano added a comment -

        r52444, r52445: backported improvement and modified demo in the EE 3.3 maintenance branch.

        Show
        Arturo Zambrano added a comment - r52444, r52445: backported improvement and modified demo in the EE 3.3 maintenance branch.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52446 Mon May 14 17:27:04 MDT 2018 art.zambrano ICE-11399 changed client-side API from find() to ajaxFind(), in order to make its purpose more clear; added findRow() methods right in the DataTableFindEvent class for convenience
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/event/DataTableFindEvent.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Hide
        Arturo Zambrano added a comment - - edited

        r524446: changed client-side API from find() to ajaxFind(), in order to make its purpose more clear; added findRow() methods right in the DataTableFindEvent class for convenience

        r52448: backported these changes to the EE 3.3 maintenance branch

        Show
        Arturo Zambrano added a comment - - edited r524446: changed client-side API from find() to ajaxFind(), in order to make its purpose more clear; added findRow() methods right in the DataTableFindEvent class for convenience r52448: backported these changes to the EE 3.3 maintenance branch
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52447 Mon May 14 17:28:47 MDT 2018 art.zambrano ICE-11399 updated method name after name change
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableFind.xhtml
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: