ICEfaces
  1. ICEfaces
  2. ICE-3943

columnWidths not applied on ice:columns

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      XP SP3, FF3
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Workaround for me, patch the TableRenderer by replacing

      if (isScrollable(uiComponent) &&
         columnWitdths != null &&
         columnWitdths.hasMoreTokens()) {
         width = columnWitdths.nextToken();
      }

      with:

      if (columnWitdths != null &&
         columnWitdths.hasMoreTokens()) {
         width = columnWitdths.nextToken();
      }
      Show
      Workaround for me, patch the TableRenderer by replacing if (isScrollable(uiComponent) &&    columnWitdths != null &&    columnWitdths.hasMoreTokens()) {    width = columnWitdths.nextToken(); } with: if (columnWitdths != null &&    columnWitdths.hasMoreTokens()) {    width = columnWitdths.nextToken(); }

      Description

      TableRenderer puts always the hardcoded width 150px (Line: 659):

      String width = "150px;";
      if (isScrollable(uiComponent) &&
         columnWitdths != null &&
         columnWitdths.hasMoreTokens()) {
         width = columnWitdths.nextToken();
      }

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #19203 Tue Sep 01 05:34:51 MDT 2009 adnan.durrani Fix for ICE-3943 (columnWidths not applied on ice:columns)
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #19235 Wed Sep 09 08:21:38 MDT 2009 yip.ng ICE-3943: Reverted changes for now because they caused a number of regressions.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #19241 Thu Sep 10 10:39:32 MDT 2009 yip.ng ICE-3943, ICE-4916: 4916 is real cause of regressions, so reinstated 3943 and reverted 4916 instead.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #19890 Tue Dec 08 15:08:57 MST 2009 judy.guglielmin ICE-4481 updates TableRenderer for ICE-5013, ICE-4979, ICE-4916, ICE-3943, ICE-4306
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/TableRenderer.java

            People

            • Assignee:
              yip.ng
              Reporter:
              Tobias Schafer
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: