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

          Hide
          Joanne Bai added a comment -

          Verified with success on ICEfaces trunk revision 19228 + tomcat6.0

          Tested on FF3.5, IE6 and IE7

          Test app committed to repo\qa\trunk\Regression\ICE-3943

          Show
          Joanne Bai added a comment - Verified with success on ICEfaces trunk revision 19228 + tomcat6.0 Tested on FF3.5, IE6 and IE7 Test app committed to repo\qa\trunk\Regression\ ICE-3943
          Hide
          Ken Fyten added a comment -

          The change for this issue is causing the following regression test failures using IE7 and FF2:

          ICE-3136: failed on IE and FF (works fine on Opera) - column.rendered is not interpreted inside a headerRow element
          ICE-3057: failed - columns are not resizable when resize: true clientOnly: false
          ICE-2371: failed on IE and FF (works fine on Opera) - things wrong with the column headers
          ICE-2234: failed on IE and FF (works fine on Opera) - things wrong with the column headers

          Show
          Ken Fyten added a comment - The change for this issue is causing the following regression test failures using IE7 and FF2: ICE-3136 : failed on IE and FF (works fine on Opera) - column.rendered is not interpreted inside a headerRow element ICE-3057 : failed - columns are not resizable when resize: true clientOnly: false ICE-2371 : failed on IE and FF (works fine on Opera) - things wrong with the column headers ICE-2234 : failed on IE and FF (works fine on Opera) - things wrong with the column headers
          Hide
          Ken Fyten added a comment -

          More details on the regression failures:

          ICE-3136: failed on IE and FF (works fine on Opera) - column.rendered is not interpreted inside a headerRow element
          ICE-3057: failed - columns are not resizable when resize: true clientOnly: false
          ICE-2371: failed on IE and FF (works fine on Opera) - things wrong with the column headers
          ICE-2234: failed on IE and FF (works fine on Opera) - things wrong with the column headers
          They seem all column headers related. The column header row disappears when multiple clicks apply to it. It affects column resizable and sortable on IE and FF. Opera is fine.

          Show
          Ken Fyten added a comment - More details on the regression failures: ICE-3136 : failed on IE and FF (works fine on Opera) - column.rendered is not interpreted inside a headerRow element ICE-3057 : failed - columns are not resizable when resize: true clientOnly: false ICE-2371 : failed on IE and FF (works fine on Opera) - things wrong with the column headers ICE-2234 : failed on IE and FF (works fine on Opera) - things wrong with the column headers They seem all column headers related. The column header row disappears when multiple clicks apply to it. It affects column resizable and sortable on IE and FF. Opera is fine.
          Hide
          yip.ng added a comment -

          Backed out original changes for now. Need more time to debug. (There were 48 differences in the diff.)

          Show
          yip.ng added a comment - Backed out original changes for now. Need more time to debug. (There were 48 differences in the diff.)
          Hide
          Ken Fyten added a comment -

          Re-instated original changes for this issue. The actual cause of regression was related to changes made for ICE-4916.

          Show
          Ken Fyten added a comment - Re-instated original changes for this issue. The actual cause of regression was related to changes made for ICE-4916 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved: