ICEfaces
  1. ICEfaces
  2. ICE-10046

showcase - ace:dataTable Selector - ajax disabled issue (Myfaces JSF specific)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: EE-3.3.0.GA_P02
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      Icefaces-ee-3.3.0.GA-Maintenance revision# 41201 (MyFaces JSF specific)
      Server: tomcat6/7
      Browser: FF3.6, IE7 & Chrome35
      Mojarra: 2.1.28
    • Assignee Priority:
      P2

      Description

      showcase > ace:dataTable > Selector:
      When 'Instant Status Update via Ajax' checkbox is un-checked, selecting/un-selecting rows or cells still updates content on page via ajax (MyFaces specific).

      Steps:
      - Build showcase with MyFaces JSF, install on tomcat7.
      - go to ace:dataTable -> Selector demo.
      - uncheck 'Instant Status Update via Ajax' checkbox -> 'Refresh Status' button is rendered below the dataTable.
      - select a row -> the name of the selected row is rendered on the page without clicking the "Refresh Status" button, as if ajax would still be enabled.

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed fix to 3.3 EE maintenance branch at revision 41219.

        After several tests to discard possible causes, what seemed the most likely was that there was a problem maintaining state correctly in the ajax tag. This turned out to be the exact same issue as ICE-9498, which was only targeted for 4.0 BETA. The same fix was applied to this branch to solve the issue, which consists in checking if an ace:ajax attribute has a binding before returning its default value.

        Show
        Arturo Zambrano added a comment - Committed fix to 3.3 EE maintenance branch at revision 41219. After several tests to discard possible causes, what seemed the most likely was that there was a problem maintaining state correctly in the ajax tag. This turned out to be the exact same issue as ICE-9498, which was only targeted for 4.0 BETA. The same fix was applied to this branch to solve the issue, which consists in checking if an ace:ajax attribute has a binding before returning its default value.
        Hide
        Carmen Cristurean added a comment - - edited

        Verified with EE-3.3.0-maintenance branch rev. 41221 in IE10, Firefox29.

        Show
        Carmen Cristurean added a comment - - edited Verified with EE-3.3.0-maintenance branch rev. 41221 in IE10, Firefox29.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: