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