0 Replies Latest reply on Jul 5, 2011 1:23 AM by vijayakumar.velu

    How to remove the leading space from rich:tabPanel

    vijayakumar.velu

      Hi All,


      I'm using richfaces 3.1.5 version.

      When using rich:tabPanel, first tab's vertical line should be aligned with contnet's table border. Means no space is required.

      I have attached screen shot as well. Please advice.

       

       

      source:


      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>

      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

      <HTML>

      <HEAD>

      </HEAD>

      <f:view>

      <body>

      <h:form id="testForm">

      <rich:tabPanel width="40%">

              <rich:tab label="Canon" rendered="true">

                  <h:outputLabel id="test1" value="test1"></h:outputLabel>

              </rich:tab>

              <rich:tab label="Nikon">

                  <h:outputLabel id="test2" value="test2"></h:outputLabel>

              </rich:tab>

              <rich:tab label="Olympus">

                  <h:outputLabel id="test3" value="test3"></h:outputLabel>

              </rich:tab>

      </rich:tabPanel>

      </h:form>

      </body>

      </f:view>

      </HTML>


      Vijay