ICEfaces
  1. ICEfaces
  2. ICE-1140

ice:columns Sticking to First Column

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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

      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.
      1. columns.xhtml
        2 kB
        dukehoops
      2. Example3.java
        1 kB
        adnan_d
      3. Example3.java
        2 kB
        dukehoops

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Adnan Durrani
            Reporter:
            Brad Kroeger
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: