myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milo van der Zee (JIRA)" <>
Subject [jira] Created: (TOMAHAWK-1002) Allow the DIV containing the tabs to contain a "class" attribute
Date Sun, 20 May 2007 18:34:16 GMT
Allow the DIV containing the tabs to contain a "class" attribute

                 Key: TOMAHAWK-1002
             Project: MyFaces Tomahawk
          Issue Type: Improvement
          Components: Tabbed Pane
    Affects Versions: 1.1.6-SNAPSHOT
            Reporter: Milo van der Zee

Currently the div containing the tabs is 100% wide. This is a problem for me because I need
some input field right next to the tabs. By adding the tabContentStyleClass to the DIV I can
set the width and so allow the input fields to be accessed. Otherwise the DIV is on top of
the input fields. z-index did not work...

The next fix was added to in method writeTabsContents():
               writer.startElement(HTML.DIV_ELEM, tabbedPane);
                writer.writeAttribute(HTML.ID_ATTR, tab.getClientId(facesContext), null);
                //START: Milo
                String tabContentStyleClass = tabbedPane.getTabContentStyleClass();
                if(tabContentStyleClass != null) {
                	writer.writeAttribute(HTML.CLASS_ATTR, tabContentStyleClass, null);
                //END: Milo
                // the inactive tabs are hidden with a div-tag
                if (tabIdx != selectedIndex) {

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message