ICEfaces
  1. ICEfaces
  2. ICE-9895

ICEfaces mobi components not working inside nested ace:dataTables

    Details

      Description

      Many of the new ICEfaces mobi components do not currently function as expected when used inside nested ace:dataTable components.

      Note that h:dataTables work fine, as do single level ace:dataTables.

      Issues (ICEfaces4/trunk revision# 40047):
      mobi:dateSpinner
      - When trying to change the value of the dateSpinner inside nested ace:dataTables the date immediately switches back to it's original value and cannot be changed. No issues when inside nested h:dataTables.

      mobi:timeSpinner
      - When trying to change the value of the timeSpinner inside nested ace:dataTables the time immediately switches back to it's original value and cannot be changed. No issues when inside nested h:dataTables.

      mobi:flipSwitch
      - The value printed on the page does not update when changing the flipswitch value inside nested ace:dataTables. No issues when inside nested h:dataTables.

      mobi:microphone
      - The audio clip will not upload when the component is nested inside ace:dataTables

      mobi:camera
      - The image will not upload when the component is nested inside ace:dataTables

      mobi:camcorder
      - The video will not upload when the component is nested inside ace:dataTables

      mobi:scan
      - The QR code values won't submit in the first row of the table inside nested ace:dataTables

      mobi:fetchContact
      - The value attribute is not submitted in the first row of the outside table (not an issue for the fetchConatct inside nested h:dataTables).

        Activity

        Hide
        Liana Munroe added a comment - - edited

        Nested Data Table is failing in ace components nested inside ace:dataTables as well.
        PushButton in ace:dataTable does not submit the first row of data in a nested table.
        Test application is at:
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/pushButton

        qr code in nested Ace:dataTable.
        In a nested Ace table, the first submission of data is not persisted but the second and third are persisted. This is not the case in a nested h:dataTable, all submission work correctly.
        Test application (ace:qrCode Nested in ace:dataTables) is at:
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/qrCode

        Show
        Liana Munroe added a comment - - edited Nested Data Table is failing in ace components nested inside ace:dataTables as well. PushButton in ace:dataTable does not submit the first row of data in a nested table. Test application is at: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/pushButton qr code in nested Ace:dataTable. In a nested Ace table, the first submission of data is not persisted but the second and third are persisted. This is not the case in a nested h:dataTable, all submission work correctly. Test application (ace:qrCode Nested in ace:dataTables) is at: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/qrCode
        Hide
        Liana Munroe added a comment - - edited

        Tested with ICEfaces 4 trunk r43806
        mobi:dateSpinner fails
        mobi:timeSpinner fails
        mobi:flipswitch fails
        mobi:geoTrack fails

        mobi:microphone passes
        mobi:camera passes
        mobi:camcorder passes
        mobi:scan passes
        mobi:fetchContact passes
        ace:qrCode passes
        ace:pushbutton passes

        Seems like just the non-native mobi comps are failing now.

        Show
        Liana Munroe added a comment - - edited Tested with ICEfaces 4 trunk r43806 mobi:dateSpinner fails mobi:timeSpinner fails mobi:flipswitch fails mobi:geoTrack fails mobi:microphone passes mobi:camera passes mobi:camcorder passes mobi:scan passes mobi:fetchContact passes ace:qrCode passes ace:pushbutton passes Seems like just the non-native mobi comps are failing now.
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces4 trunk r44040. Verified that 2 of the issues - pushButton in nested dataTable and qrCode in nested dataTable are resolved. Tomcat 7.

        Show
        Liana Munroe added a comment - Tested with ICEfaces4 trunk r44040. Verified that 2 of the issues - pushButton in nested dataTable and qrCode in nested dataTable are resolved. Tomcat 7.
        Hide
        Arturo Zambrano added a comment - - edited

        r48622: added code in the DataTable.visitRowsAndExpandedRows() method to check if the model is correctly loaded, otherwise reset it and load it again before iterating over all the rows

        Note that this issue occurred with any component using ajax inside two nested ace:dataTables. It also occurred with an ace:dataTable inside an h:dataTable. Any component (ace, mobi or h) with an ajax tag didn't get its value updated in the server if it was inside a nested ace:dataTable. This is more clearly visible with input components.

        Testing notes: please test with various components (ace, mobi, and h) and also with MyFaces.

        Show
        Arturo Zambrano added a comment - - edited r48622: added code in the DataTable.visitRowsAndExpandedRows() method to check if the model is correctly loaded, otherwise reset it and load it again before iterating over all the rows Note that this issue occurred with any component using ajax inside two nested ace:dataTables. It also occurred with an ace:dataTable inside an h:dataTable. Any component (ace, mobi or h) with an ajax tag didn't get its value updated in the server if it was inside a nested ace:dataTable. This is more clearly visible with input components. Testing notes: please test with various components (ace, mobi, and h) and also with MyFaces.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r 48623. Tomcat 8. Chrome 49, FF 34, IE Edge, 11, 10, 9, 8.
        Performed extensive testing with various components (ace, mobi, and h) using mojarra and myfaces libs, no issues were found.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r 48623. Tomcat 8. Chrome 49, FF 34, IE Edge, 11, 10, 9, 8. Performed extensive testing with various components (ace, mobi, and h) using mojarra and myfaces libs, no issues were found.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: