You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "ashok kumar (JIRA)" <de...@myfaces.apache.org> on 2006/09/27 12:01:50 UTC

[jira] Created: (TOMAHAWK-709) Regarding the spacing between the tabs that are rendered

Regarding the spacing between the tabs that are rendered
--------------------------------------------------------

                 Key: TOMAHAWK-709
                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-709
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Tabbed Pane
         Environment: Windows
            Reporter: ashok kumar 


My application requires two tabs to be displayed in a single page. Using Tabbed pane am acheiving the same. 
But the problem is that the entire page is getting divided in to two and first tab is displaying in first part and second tab is getting displayed in the second part. The page layout is getting changed when we go for the next tab. And i dont want this to happen i want the two tabs to be side by side. How can we achieve it. 

Here is my code can you please check it.

 <t:panelTabbedPane bgcolor="#FFFFCC" width="50%" align="bottom" border="1" cellspacing="0" cellpadding="0">	
	
	        <t:panelTab id="tab1" label="Process 1" rendered="true">
	                <h:selectBooleanCheckbox id="testCheckBox"/>
                                       <h:outputLabel for="testCheckBox" value="A checkbox"/>
	                <f:verbatim><br/><br/></f:verbatim>
	            <h:inputText id="inp1"/><f:verbatim><br></f:verbatim>
	            <h:inputText id="inp2" required="true" />
	            <h:inputText id="first"/>
                                   <h:inputText id="second"/>
                                 <h:inputText id="third"/>
					
	            <h:message for="inp2" showSummary="false" showDetail="true" />
	        </t:panelTab>
	
	  <t:panelTab id="tab3" label="Process 2" rendered="true">
	
	            <t:selectOneRadio id="selectOne">
	                    <f:selectItem itemValue="0" itemLabel="First Choice" />
	                    <f:selectItem itemValue="1" itemLabel="Second Choice" />
	            </t:selectOneRadio>
	
	            <f:verbatim><br/><br/></f:verbatim>
	            <f:verbatim><br/><br/></f:verbatim>
	
	            <h:inputText id="inp3"/><f:verbatim><br/></f:verbatim>
	        </t:panelTab>
                              <h:commandButton value="Submit" />
	
	    </t:panelTabbedPane>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira