<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<html>
<head>
<title>TabPanel Experiment</title>
</head>
<body>
<f:view>
<a4j:form>
<rich:tabPanel id="tabpanel" switchType="client">
<rich:tab name="obligor" label="Obligor">
<h:panelGrid columns="2" id="obligorFields">
<h:column>Field1:</h:column>
<h:column><h:inputText id="field1"/></h:column>
</h:panelGrid>
</rich:tab>
<rich:tab name="property" label="Property">
<h:panelGrid columns="2" id="propertyFields">
<h:column>Field2:</h:column>
<h:column><h:inputText id="field2"/></h:column>
</h:panelGrid>
</rich:tab>
<rich:tab name="ratings" label="Ratings">
<h:panelGrid columns="2" id="ratingsFields">
<h:column>Field3:</h:column>
<h:column><h:inputText id="field3"/></h:column>
</h:panelGrid>
</rich:tab>
</rich:tabPanel>
</a4j:form>
</f:view>
</body>
</html>