Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-1140

TabPane shows a fixed space if no child components are specified.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.3, 3.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      MyEclipse 5.5.1, Win XP, Tomcat 5.5

      Description

      I'm trying to use the TabPanel as simply a set of tabs, with each tab navigating to a different page. Everything works fine, except that the first tab shows a fixed space entity (" ") (see attachment):

      <rich:tabPanel>
      <rich:tab label="Home" action="home" switchType="page"/>
      <rich:tab label="Parties" action="party_home" switchType="page"/>
      ...
      </rich:tabPanel>

      If I put an empty HtmlOutputText component in the panel, things work as expected:

      <rich:tabPanel>
      <rich:tab label="Home" action="home" switchType="page">
      <h:outputText />
      </rich:tab>
      <rich:tab label="Parties" action="party_home" switchType="page"/>
      ...
      </rich:tabPanel>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ayanul Aleksej Yanul
                Reporter:
                kito99 Kito Mann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: