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

          Tobias Schafer created issue -
          Arran Mccullough made changes -
          Field Original Value New Value
          Salesforce Case [50070000009f5Gc]
          Arran Mccullough made changes -
          Affects Version/s 1.8.1 [ 10170 ]
          Arran Mccullough made changes -
          Attachment Case8549Example.war [ 11911 ]
          Ken Fyten made changes -
          Fix Version/s 1.8.2 [ 10190 ]
          Assignee Priority P2
          Assignee Adnan Durrani [ adnan.durrani ]
          Ed Hillmann made changes -
          Attachment 3943-TableRenderer-UIColumns.patch [ 11933 ]
          Adnan Durrani made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Adnan Durrani made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Ken Fyten made changes -
          Assignee Adnan Durrani [ adnan.durrani ] Yip Ng [ yip.ng ]
          Ken Fyten made changes -
          Assignee Priority P2 P1
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Priority P1
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.8.2-RC1 [ 10210 ]
          Brad Kroeger made changes -
          Link This issue blocks ICE-4979 [ ICE-4979 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: