ICEfaces
  1. ICEfaces
  2. ICE-9076

Row Selection style not overriding application ui-datatable-even and ui-datatable-odd styles

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.2, EE-3.2.0.GA
    • Fix Version/s: 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7
    • Assignee Priority:
      P2
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      1. Do not override .ui-datatable-odd or .ui-datatable-even with a background

      2. Override .ui-state-active with background: #2647A0; and .ui-state-hover with background: #bfdaff; in application
      Show
      1. Do not override .ui-datatable-odd or .ui-datatable-even with a background 2. Override .ui-state-active with background: #2647A0; and .ui-state-hover with background: #bfdaff; in application

      Description

      Once Row Selector is enabled on a datatable that overrides the ui-datatable-odd and ui-datatable-even styles such as this:

      .rglrDtTb .ui-datatable-odd {
      background: #F2F2F2;
              border: 1px solid #999999;
      }

      The Row Selector does not apply the style properly. This is what I see in Firebug:

      .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, .ui-state-active em {

      CROSSED OUT (OVERRIDEN) FROM HERE
      background: url("/AMPS_Repository/javax.faces.resource/themes/sam/images/sprite.png.jsf?ln=icefaces.ace") repeat-x scroll left -1400px padding-box #2647A0;
          border: 1px solid #AAAAAA;
      TO HERE. FOLLOWING IS APPLIED TO THE PAGE:

          color: #FFFFFF;
          font-weight: normal;
      }

      Once background: #F2F2F2; is removed from the application style class, the row selector works as expected.

        Activity

        Brad Kroeger created issue -
        Brad Kroeger made changes -
        Field Original Value New Value
        Attachment firstrowselectedbroken.PNG [ 15583 ]
        Brad Kroeger made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Affects Version/s 3.2 [ 10338 ]
        Brad Kroeger made changes -
        Workaround Description Do not override .ui-datatable-odd or .ui-datatable-even with a background 1. Do not override .ui-datatable-odd or .ui-datatable-even with a background

        2. Override .ui-state-active with background: #2647A0; and .ui-state-hover with background: #bfdaff; in application
        Workaround Exists Yes [ 10007 ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Nils Lundquist [ nils.lundquist ]
        Fix Version/s 3.3 [ 10370 ]
        Assignee Priority P2 [ 10011 ]
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: