Details
-
Type: Bug
-
Status: Closed
-
Priority: Critical
-
Resolution: Incomplete
-
Affects Version/s: 1.5.1
-
Fix Version/s: 1.6DR#3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: Windows XP
Platform: PC
-
Assignee Priority:P1
-
Support Case References:
Description
The "dynamic columns using ice:columns" posting on the icefaces.org forum
outlines the problem.
The table is rendering fine the first time, but on subsequent renderings, the
columns all have the same content. Upon testing, the submitter of the post
found that columnDataModel.getRowIndex() was returning 0 each time after the
first render.
I did some testing on my machine with an older version of ColumnsBean in the
Component Showcase. I found that not changing the columnDataModel recreated
the problem.
The problem is not evident in the current form of the Columns demo because the
content is the same in each column. However, using Rev. 11545 of ColumnsBean
will give you dynamic cell content in different columns. In this version of
ColumnsBean, the columnDataModel changes each time as the header String is
modified to reflect the new range of values in the column. When you make the
content of the columnDataModel static, (the same headers all the time) you
will see the first column repeated across all the columns.
outlines the problem.
The table is rendering fine the first time, but on subsequent renderings, the
columns all have the same content. Upon testing, the submitter of the post
found that columnDataModel.getRowIndex() was returning 0 each time after the
first render.
I did some testing on my machine with an older version of ColumnsBean in the
Component Showcase. I found that not changing the columnDataModel recreated
the problem.
The problem is not evident in the current form of the Columns demo because the
content is the same in each column. However, using Rev. 11545 of ColumnsBean
will give you dynamic cell content in different columns. In this version of
ColumnsBean, the columnDataModel changes each time as the header String is
modified to reflect the new range of values in the column. When you make the
content of the columnDataModel static, (the same headers all the time) you
will see the first column repeated across all the columns.
-
Hide
- columns.war
- 4.59 MB
- adnan_d
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 2 kB
- WEB-INF/classes/.../AddressBean.class 1 kB
- WEB-INF/classes/.../address/AddressBean.java 3 kB
- WEB-INF/.../AddressFormProcessor.class 14 kB
- WEB-INF/.../AddressFormProcessor.java 31 kB
- WEB-INF/classes/.../FormElement.class 1 kB
- WEB-INF/classes/.../address/FormElement.java 4 kB
- WEB-INF/.../FormElementContainer.class 4 kB
- WEB-INF/.../FormElementContainer.java 6 kB
- WEB-INF/classes/.../LinkedFormElement.class 2 kB
- WEB-INF/classes/.../LinkedFormElement.java 6 kB
- WEB-INF/classes/.../MatchAddressDB.class 5 kB
- WEB-INF/classes/.../MatchAddressDB.java 9 kB
- WEB-INF/classes/.../address/MatchBean.class 1 kB
- WEB-INF/classes/.../address/MatchBean.java 3 kB
- WEB-INF/classes/.../address/MatchCity.class 2 kB
- WEB-INF/classes/.../address/MatchCity.java 4 kB
- WEB-INF/classes/.../address/MatchState.class 3 kB
- WEB-INF/classes/.../address/MatchState.java 4 kB
- WEB-INF/classes/.../address/MatchZip.class 0.6 kB
- WEB-INF/classes/.../address/MatchZip.java 2 kB
- WEB-INF/classes/.../address/Matchable.class 2 kB
- WEB-INF/classes/.../address/Matchable.java 7 kB
- WEB-INF/classes/.../address/PhaseSync.class 2 kB
- WEB-INF/classes/.../address/PhaseSync.java 3 kB
- WEB-INF/classes/.../address/ReadmeBean.class 2 kB
- WEB-INF/classes/.../address/ReadmeBean.java 4 kB
- WEB-INF/classes/.../SubmitButton.class 0.9 kB
- WEB-INF/classes/.../SubmitButton.java 3 kB
-
- columns.xhtml
- 2 kB
- dukehoops
-
Hide
- columns-facelets.war
- 4.99 MB
- adnan_d
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 2 kB
- WEB-INF/classes/test/Example1.class 1 kB
- WEB-INF/classes/test/Example1.java 0.7 kB
- WEB-INF/classes/test/Example2.class 2 kB
- WEB-INF/classes/test/Example2.java 2 kB
- WEB-INF/classes/test/Example3.class 2 kB
- WEB-INF/classes/test/Example3.java 1.0 kB
- WEB-INF/classes/test/Example4.class 3 kB
- WEB-INF/classes/test/Example4.java 3 kB
- WEB-INF/faces-config-facelet.xml 2 kB
- WEB-INF/faces-config.xml 1 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 184 kB
- WEB-INF/lib/commons-collections.jar 546 kB
- WEB-INF/lib/commons-digester.jar 107 kB
- WEB-INF/lib/commons-discovery.jar 70 kB
- WEB-INF/lib/commons-el.jar 110 kB
- WEB-INF/lib/commons-fileupload.jar 22 kB
- WEB-INF/lib/commons-logging.jar 37 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/lib/el-ri.jar 97 kB
- WEB-INF/lib/icefaces-comps.jar 593 kB
- WEB-INF/lib/icefaces-facelets.jar 574 kB
- WEB-INF/lib/icefaces.jar 628 kB
- WEB-INF/lib/jsf-api.jar 356 kB
- WEB-INF/lib/jsf-impl.jar 778 kB
- WEB-INF/lib/jstl.jar 17 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/xercesImpl.jar 987 kB
-
- Example3.java
- 1 kB
- adnan_d
-
- Example3.java
- 2 kB
- dukehoops
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
There are no subversion log entries for this issue yet.