Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
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.
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.