<%@ 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"%>

<f:subview id="stpPropertySubviewID">
			<h:panelGrid columns="2" border="1">
				<h:outputText value="Width:">
				</h:outputText>
				<h:inputText value="#{simpleTogglePanel.width}">
					<a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
				</h:inputText>

				<h:outputText value="Height:">
				</h:outputText>
				<h:inputText value="#{simpleTogglePanel.height}">
					<a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
				</h:inputText>

				<h:outputText value="Switch Type:"></h:outputText>
				<h:selectOneRadio value="#{simpleTogglePanel.switchType}">
					<f:selectItem itemLabel="client" itemValue="client" />
					<f:selectItem itemLabel="server" itemValue="server" />
					<f:selectItem itemLabel="ajax" itemValue="ajax" />
					<a4j:support event="onclick" reRender="sTP,sTP1,sTP2"></a4j:support>
				</h:selectOneRadio>

				<h:outputText value="Rendered:"></h:outputText>
				<h:selectBooleanCheckbox value="#{simpleTogglePanel.rendered}" onclick="submit()">
				</h:selectBooleanCheckbox>
			</h:panelGrid>
</f:subview>