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

        Hide
        Ted Goddard added a comment -

        Desired functionality for mimacom application.

        Show
        Ted Goddard added a comment - Desired functionality for mimacom application.
        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...
        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: