ICEfaces
  1. ICEfaces
  2. ICE-1811

PanelTab styling should not apply to its root span

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#6
    • Fix Version/s: 1.6DR#6, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Win XP SP2, Firefox 1.5.0.12, component-showcase, JBoss 4.0.4 GA

      Description

      The PanelTab acts in two capacities, firstly as a logical container for the child components that should be displayed when that tab is selected, and secondly as a means to specify attributes that affect the styling and behaviours of the little clickable tab button which is used to select that tab.

      There's a problem where we use the styleClass of the PanelTab for styling the clickable tab button, but it is also, inadvertantly, being used to style the SPAN tag that contains the child components that are rendered in the PanelTabSet container.

        Activity

        Mark Collette created issue -
        Mark Collette made changes -
        Field Original Value New Value
        Assignee Mark Collette [ mark.collette ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14370 Tue Jul 03 12:10:07 MDT 2007 mark.collette ICE-1811 : PanelTab styling should not apply to its root span
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/paneltab-component.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/doc/panelTabSetDoc.html
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/paneltab-renderer.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/conf/META-INF/facelet/icefaces.taglib.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/conf/META-INF/faces-config.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/GroupRenderer.java
        Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14372 Tue Jul 03 12:11:40 MDT 2007 mark.collette ICE-1811 : PanelTab styling should not apply to its root span
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/GroupRenderer.java
        Hide
        Mark Collette added a comment -

        Instead of PanelTab using GroupRenderer, it now has PanelTabRenderer that extends GroupRenderer. GroupRenderer renders a styled SPAN as its root, but PanelTabRenderer renders an unstyled DIV.

        Subversion 14370
        icefaces\component-metadata\src\main\resources\conf\custom\paneltab-component.xml
        icefaces\component-metadata\src\main\resources\conf\custom\paneltab-renderer.xml
        icefaces\component\conf\META-INF\facelet\icefaces.taglib.xml
        icefaces\component\conf\META-INF\faces-config.xml
        icefaces\component\doc\panelTabSetDoc.html
        icefaces\core\src\com\icesoft\faces\renderkit\dom_html_basic\GroupRenderer.java
        icefaces\component\src\com\icesoft\faces\component\paneltabset\PanelTabRenderer.java

        Subversion 14372
        icefaces\core\src\com\icesoft\faces\renderkit\dom_html_basic\GroupRenderer.java

        Show
        Mark Collette added a comment - Instead of PanelTab using GroupRenderer, it now has PanelTabRenderer that extends GroupRenderer. GroupRenderer renders a styled SPAN as its root, but PanelTabRenderer renders an unstyled DIV. Subversion 14370 icefaces\component-metadata\src\main\resources\conf\custom\paneltab-component.xml icefaces\component-metadata\src\main\resources\conf\custom\paneltab-renderer.xml icefaces\component\conf\META-INF\facelet\icefaces.taglib.xml icefaces\component\conf\META-INF\faces-config.xml icefaces\component\doc\panelTabSetDoc.html icefaces\core\src\com\icesoft\faces\renderkit\dom_html_basic\GroupRenderer.java icefaces\component\src\com\icesoft\faces\component\paneltabset\PanelTabRenderer.java Subversion 14372 icefaces\core\src\com\icesoft\faces\renderkit\dom_html_basic\GroupRenderer.java
        Mark Collette made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.6 [ 10031 ]
        Fix Version/s 1.6DR#6 [ 10090 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mark Collette [ mark.collette ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: