Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.8.2-EE-GA_P02
-
Fix Version/s: EE-1.8.2.GA_P03
-
Component/s: ICE-Components
-
Labels:None
-
Environment:-
-
Workaround Exists:Yes
-
Workaround Description:HideWorkaround is to code the button or link component action listeners to perform the row selection state toggle for the row prior to whatever other processing they are doing. May be necessary to use toggleOnInput=false for this in some cases (where the app. itself would toggle row selection based on input element action events, etc.).ShowWorkaround is to code the button or link component action listeners to perform the row selection state toggle for the row prior to whatever other processing they are doing. May be necessary to use toggleOnInput=false for this in some cases (where the app. itself would toggle row selection based on input element action events, etc.).
Description
-
Hide
- sc9785.war
- 7.81 MB
- Tyler Johnson
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/FastInfoset.jar 285 kB
- WEB-INF/lib/icefaces-comps.jar 3.16 MB
- ICEfacesPage1.xhtml 2 kB
- WEB-INF/classes/com/.../basic/TableBean.java 5 kB
- WEB-INF/.../TableBean$InventoryItem.class 2 kB
- WEB-INF/lib/jxl.jar 708 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/faces-config.xml 0.8 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/jsf-impl.jar 837 kB
- index.jsp 0.1 kB
- WEB-INF/lib/jsf-api.jar 355 kB
- WEB-INF/lib/icefaces.jar 1.21 MB
- WEB-INF/web.xml 4 kB
- WEB-INF/classes/.../basic/TableBean.class 2 kB
- WEB-INF/lib/icefaces-facelets.jar 596 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/commons-collections.jar 558 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The dataTable component wires up a 'onclick' event handler that eventually invokes iceSubmitPartial() function to inform the server about the newly selected row. When a commandButton or commandLink is used the 'onclick' event handlers of these components already invoke the iceSubmit() function. Because the blockUIOnSubmit feature blocks any subsequent requests from occurring the 'onclick' event handler wired to the table never gets a chance to send the new row position.
The inputText components does work well because there's no 'onclick' event handler registered with the 'input' element. The 'click' event bubbles up to the table element which submits the new row position.
Resolving this issue within the components themselves would require a very large amount of effort and complexity/risk due to the nature of how these features must be implemented in the browser. Since a reasonable workaround is available, marking this as Won't Fix.
Possible that commandButton is firing the Action event, which causes blockUIOnSubmit to block, which prevents the subsequent submit for the rowSelection from occurring ?