Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:MyFaces 2 ICEfaces 2 datatables
-
Assignee Priority:P1
-
Affects:Compatibility/Configuration
Description
When running under MyFaces, components within datatables are being assigned ids where the row index appears to be appended twice. So for example, in Mojarra where an element within a datatable might be identified as;
<span id="iceform:datTbl:2:number" class="iceOutTxt">1</span>
in MyFaces, the same element is identified as:
<span id="iceform:datTbl:2:2:number" class="iceOutTxt">1</span>
While it doesn't appear to strictly break any application functionality that I can identify, it does cause distress to many of our Selenium tests where we attempt to find elements within a datatable.
<span id="iceform:datTbl:2:number" class="iceOutTxt">1</span>
in MyFaces, the same element is identified as:
<span id="iceform:datTbl:2:2:number" class="iceOutTxt">1</span>
While it doesn't appear to strictly break any application functionality that I can identify, it does cause distress to many of our Selenium tests where we attempt to find elements within a datatable.
Issue Links
- blocks
-
ICE-5868 MyFaces 2 compatibility
- Closed
Activity
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | datatable-ids.png [ 13551 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25609 | Fri Sep 23 10:31:54 MDT 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/panelseries/UISeries.java
|
Deryk Sinotte
made changes -
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25644 | Mon Sep 26 14:57:41 MDT 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/panelseries/UISeries.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25689 | Wed Sep 28 11:00:03 MDT 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/javascript/application.js
MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/util/CharacterEncodingHandler.java MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ExtendedExceptionHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25695 | Wed Sep 28 11:45:37 MDT 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/util/CharacterEncodingHandler.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25751 | Thu Sep 29 16:44:18 MDT 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/panelseries/UISeries.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25788 | Fri Sep 30 16:00:25 MDT 2011 | ken.fyten | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ExtendedExceptionHandler.java
|
Deryk Sinotte
made changes -
Deryk Sinotte
made changes -
Assignee | Deryk Sinotte [ deryk.sinotte ] | Mark Collette [ mark.collette ] |
Deryk Sinotte
made changes -
Attachment | ICE-7244.patch [ 13701 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 |
Ken Fyten
made changes -
Salesforce Case | [] | |
Affects | [Compatibility/Configuration] | |
Assignee Priority | P2 | P1 |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | EE-3.0.0.GA [ 10262 ] | |
Fix Version/s | 3.0 [ 10241 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #26886 | Wed Dec 14 18:30:07 MST 2011 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/UIColumns.java MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/UISeriesBase.java MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/HtmlDataTable.java MODIFY /icefaces3/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #26929 | Fri Dec 16 14:05:10 MST 2011 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/RowSelector.java |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 3.0 [ 10241 ] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 3.0.RC2 [ 10313 ] | |
Fix Version/s | EE-3.0.0.GA [ 10262 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28146 | Sat Mar 03 01:21:09 MST 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/HtmlDataTable.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28147 | Sat Mar 03 01:23:08 MST 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/HtmlDataTable.java
|
Added some logging to the OutputTextRender for a small table. It clearly shows that the call to getClientId() from the component is returning the row index twice:
MyFaces logging:
OutputTextRenderer.encodeBegin: iceform:datTbl:0:0:number from com.icesoft.faces.component.ext.HtmlOutputText@f57e027
OutputTextRenderer.encodeBegin: iceform:datTbl:1:1:number from com.icesoft.faces.component.ext.HtmlOutputText@f57e027
OutputTextRenderer.encodeBegin: iceform:datTbl:2:2:number from com.icesoft.faces.component.ext.HtmlOutputText@f57e027
Mojarra logging:
OutputTextRenderer.encodeBegin: iceform:datTbl:0:number from com.icesoft.faces.component.ext.HtmlOutputText@3154bfa8
OutputTextRenderer.encodeBegin: iceform:datTbl:1:number from com.icesoft.faces.component.ext.HtmlOutputText@3154bfa8
OutputTextRenderer.encodeBegin: iceform:datTbl:2:number from com.icesoft.faces.component.ext.HtmlOutputText@3154bfa8