0 Replies Latest reply on Sep 11, 2007 9:51 AM by Yannick Lazzari

    TabPanel question: unused header space

    Yannick Lazzari Newbie


      I have a question about the tabPanel component. Is it possible to make use of the unused space in the tab headers? Let me explain. Let's say I have a tabPanel with only 3 tabs aligned to the left. I have all this empty space on the right at the same level where each tab is drawn. I would like to insert something there. Is it possible? I know I can use CSS to align a DIV at the same level but I was wondering if there was a cleaner way supported by the component. If not, perhaps it would be nice to support some sort of facet that would enable people to add content to the unused space. For example:

       <rich:tab label="Tab 1">...</rich:tab>
       <rich:tab label="Tab 2">...</rich:tab>
       <rich:tab label="Tab 3">...</rich:tab>
       <f:facet name="unusedSpace">
       <h:outputText value="Some text that will appear to the right of the tabs"/>

      Thank you.