ICEfaces
  1. ICEfaces
  2. ICE-3244

panelCollapsible style not fully applied to header

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      The style attribute is not applied to the expected parent of the panelCollapsible component, making it impossible to completely apply styles as desired to the header.

        Activity

        Ted Goddard created issue -
        Hide
        Ted Goddard added a comment -

        Desired functionality for mimacom application.

        Show
        Ted Goddard added a comment - Desired functionality for mimacom application.
        Ted Goddard made changes -
        Field Original Value New Value
        Fix Version/s 1.7.2 [ 10130 ]
        Assignee Ken Fyten [ ken.fyten ]
        Hide
        Ken Fyten added a comment -

        Please describe precisely which element is not being styled in the rendered output of the component.

        Show
        Ken Fyten added a comment - Please describe precisely which element is not being styled in the rendered output of the component.
        Hide
        Tobias Schafer added a comment -

        I've added my own style class to the collapsible panel:
        <ice:panelCollapsible expanded="true" styleClass="myStyle">

        css:
        .myStyle

        { ... }

        .myStyleHdr

        { background-color: white !important; }

        The produced code looks like following:
        div class="icePnlClpsblCnt">
        <div class="icePnlClpsbl myStyle">
        <div class="icePnlClpsblHdr myStyleHdr" ...>

        The code seems to be ok, but my own style (background color) isn't applied on the header. The base css class (icePnlClpsblHdr) keeps the lead, so my class has no effect...

        Show
        Tobias Schafer added a comment - I've added my own style class to the collapsible panel: <ice:panelCollapsible expanded="true" styleClass="myStyle"> css: .myStyle { ... } .myStyleHdr { background-color: white !important; } The produced code looks like following: div class="icePnlClpsblCnt"> <div class="icePnlClpsbl myStyle"> <div class="icePnlClpsblHdr myStyleHdr" ...> The code seems to be ok, but my own style (background color) isn't applied on the header. The base css class (icePnlClpsblHdr) keeps the lead, so my class has no effect...
        Ken Fyten made changes -
        Fix Version/s 1.8DR#2 [ 10142 ]
        Fix Version/s 1.7.2 [ 10130 ]
        Hide
        Ken Fyten added a comment -

        What browser and version(s) do you see this problem with? Seems like it could be a CSS issue.

        Show
        Ken Fyten added a comment - What browser and version(s) do you see this problem with? Seems like it could be a CSS issue.
        Ken Fyten made changes -
        Assignee Priority P1
        Assignee Ken Fyten [ ken.fyten ] Yip Ng [ yip.ng ]
        Hide
        Tobias Schafer added a comment -

        The problem is visible only for nested components in IE 6 and IE 7. The style 'myStyle' (now with red background) isn't applied to the container (icePnlClsblCnt).
        For Firefox it seems to be OK.

        Show
        Tobias Schafer added a comment - The problem is visible only for nested components in IE 6 and IE 7. The style 'myStyle' (now with red background) isn't applied to the container (icePnlClsblCnt). For Firefox it seems to be OK.
        Tobias Schafer made changes -
        Attachment IE 7.jpg [ 11280 ]
        Ken Fyten made changes -
        Fix Version/s 1.8DR#3 [ 10143 ]
        Fix Version/s 1.8DR#2 [ 10142 ]
        Ken Fyten made changes -
        Assignee Priority P1
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P3
        yip.ng made changes -
        Attachment ScreenHunter_01 Feb. 03 16.32.jpg [ 11496 ]
        Hide
        yip.ng added a comment -

        myStyleHdr does override icePnlClpsblHdr (its background color temporarily changed to red in rime.css), even in IE. See attached screenshot. The markup looks like this:

        <ice:panelCollapsible expanded="true" >
        <f:facet name="header">
        ......
        </f:facet>
        <style>
        .myStyleHdr

        { background-color: white !important; }

        </style>
        <ice:panelCollapsible expanded="true" styleClass="myStyle">
        <f:facet name="header">
        ......
        </f:facet>
        <ice:panelGroup >
        ......
        </ice:panelGroup>
        </ice:panelCollapsible>
        </ice:panelCollapsible>

        The result in IE looks exactly the same as in Firefox. So I don't see how it is not OK in IE but OK in Firefox.

        Show
        yip.ng added a comment - myStyleHdr does override icePnlClpsblHdr (its background color temporarily changed to red in rime.css), even in IE. See attached screenshot. The markup looks like this: <ice:panelCollapsible expanded="true" > <f:facet name="header"> ...... </f:facet> <style> .myStyleHdr { background-color: white !important; } </style> <ice:panelCollapsible expanded="true" styleClass="myStyle"> <f:facet name="header"> ...... </f:facet> <ice:panelGroup > ...... </ice:panelGroup> </ice:panelCollapsible> </ice:panelCollapsible> The result in IE looks exactly the same as in Firefox. So I don't see how it is not OK in IE but OK in Firefox.
        Hide
        yip.ng added a comment -

        Mark as resolved for now, until there is further clarification on what the true problem is and how to reproduce it.

        Show
        yip.ng added a comment - Mark as resolved for now, until there is further clarification on what the true problem is and how to reproduce it.
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P3
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Yip Ng [ yip.ng ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            7 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: