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.
Activity
Field | Original Value | New Value |
---|---|---|
issue.field.bugzillaimportkey | 1187 | 12409 |
Priority | Major [ 3 ] | Critical [ 2 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
Fix Version/s | 1.6 [ 10031 ] |
Assignee Priority | P2 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=3948 | |
Support Customer Ref. #s | 703 |
Assignee Priority | P2 | P1 |
Fix Version/s | 1.6DR#3 [ 10050 ] | |
Fix Version/s | 1.6 [ 10031 ] |
Attachment | columns.war [ 10337 ] |
Attachment | columns-facelets.war [ 10338 ] |
Attachment | columns.xhtml [ 10339 ] |
Attachment | Example3.java [ 10340 ] |
Attachment | Example3.java [ 10341 ] |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Incomplete [ 4 ] |
I have a repro if one is needed