Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA_P02
-
Fix Version/s: EE-2.0.0.GA, 2.0.2, EE-1.8.2.GA_P03
-
Component/s: ICE-Components
-
Labels:None
-
Environment:-
Description
The user has an ice:dataTable that when double clicked (rowSelection) will take you to a basic details page. Once there you are unable to use the cursor and highlight/select text in the view. However, the table also contains a commandButton which will take you to this same details page but text selection is active. Their clickListener will create a new tab within their custom tabSet component.
After digging deeper, we found that the double click DOM update differs from the commandButton in that there is a focus call. Since clicking the commandButton works as expected, we suggested that the user add a component binding to the commandButton and explicitly set focus which then did result in the same DOM update for both actions:
Command button action event:
<update address="f2YiHAyt395YQr_X7OU8eg:1:dynamic-code" tag="script">
<attribute name="id">f2YiHAyt395YQr_X7OU8eg:1:dynamic-code</attribute>
<attribute name="type">text/javascript</attribute>
<content>Ice.Focus.setFocus('createPRForm:tblResults:0:cmdOpen');//1843364878</content>
</update>
Row selector click event:
<update address="f2YiHAyt395YQr_X7OU8eg:1:dynamic-code" tag="script">
<attribute name="id">f2YiHAyt395YQr_X7OU8eg:1:dynamic-code</attribute>
<attribute name="type">text/javascript</attribute>
<content>Ice.Focus.setFocus('createPRForm:tblResults:0:cmdOpen');//-1728417036</content>
</update>
A test case has been uploaded to the FTP site mentioned in the comment below. The relevant files can be found here:
1. DataTable + RowSelector - RefreshTestSource/WEB-INF/includes/templates/paginator/sortable_paginator_tpl.jspx
2. TabSet composite component - RefreshTestSource/WEB-INF/facelets/tags/tabs.xhtml and tab.xhtml
3. TabControlBean - RefreshTestSource/src/au/com/nissan/havana/beans/TabControl.java
After digging deeper, we found that the double click DOM update differs from the commandButton in that there is a focus call. Since clicking the commandButton works as expected, we suggested that the user add a component binding to the commandButton and explicitly set focus which then did result in the same DOM update for both actions:
Command button action event:
<update address="f2YiHAyt395YQr_X7OU8eg:1:dynamic-code" tag="script">
<attribute name="id">f2YiHAyt395YQr_X7OU8eg:1:dynamic-code</attribute>
<attribute name="type">text/javascript</attribute>
<content>Ice.Focus.setFocus('createPRForm:tblResults:0:cmdOpen');//1843364878</content>
</update>
Row selector click event:
<update address="f2YiHAyt395YQr_X7OU8eg:1:dynamic-code" tag="script">
<attribute name="id">f2YiHAyt395YQr_X7OU8eg:1:dynamic-code</attribute>
<attribute name="type">text/javascript</attribute>
<content>Ice.Focus.setFocus('createPRForm:tblResults:0:cmdOpen');//-1728417036</content>
</update>
A test case has been uploaded to the FTP site mentioned in the comment below. The relevant files can be found here:
1. DataTable + RowSelector - RefreshTestSource/WEB-INF/includes/templates/paginator/sortable_paginator_tpl.jspx
2. TabSet composite component - RefreshTestSource/WEB-INF/facelets/tags/tabs.xhtml and tab.xhtml
3. TabControlBean - RefreshTestSource/src/au/com/nissan/havana/beans/TabControl.java
Activity
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000GDCUz] |
Ken Fyten
made changes -
Fix Version/s | EE-2.0.0.GA_P01 [ 10271 ] | |
Fix Version/s | 2.1 [ 10241 ] | |
Assignee Priority | P2 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
Ken Fyten
made changes -
Assignee Priority | P2 | P1 |
Assignee | Adnan Durrani [ adnan.durrani ] | yip.ng [ yip.ng ] |
Ken Fyten
made changes -
Fix Version/s | EE-1.8.2.GA_P04 [ 10280 ] |
yip.ng
made changes -
Attachment | icefaces.jar [ 13312 ] | |
Attachment | icefaces-comps.jar [ 13313 ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | EE-1.8.2.GA_P03 [ 10251 ] | |
Fix Version/s | 2.0.2 [ 10273 ] | |
Fix Version/s | EE-2.0.0.GA [ 10263 ] | |
Fix Version/s | EE-2.0.0.GA_P01 [ 10271 ] | |
Fix Version/s | 2.1 [ 10241 ] | |
Fix Version/s | EE-1.8.2.GA_P04 [ 10280 ] | |
Assignee Priority | P1 | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
\\iceads1\Support\10024\RefreshTest.war
war file doesn't run on my machine. Tomcat (6.0.29) main page lists app. as running, but when app. link followed it says "The requested resource (/RefreshTest/) is not available." No exceptions in log files.
I need to set up project in Intellij. eventually. I need the Java source files. (There is none in the war file.)