RichFaces
  1. RichFaces
  2. RF-1140

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Minor Minor
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.3, 3.2.0
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      MyEclipse 5.5.1, Win XP, Tomcat 5.5
    • Similar Issues:
      Show 10 results 

      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>

        Activity

        Hide
        Kito Mann
        added a comment -

        Screen shot.

        Show
        Kito Mann
        added a comment - Screen shot.
        Hide
        Anton Belevich
        added a comment -

        fix version 3.1.3

        Show
        Anton Belevich
        added a comment - fix version 3.1.3

          People

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

            Dates

            • Created:
              Updated:
              Resolved: