<%@ 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="simpleTogglePanelSubviewID">
		<rich:simpleTogglePanel id="sTP" bodyClass="body" headerClass="head" label="simpleTogglePanel with some text"
			width="#{simpleTogglePanel.width}" height="#{simpleTogglePanel.height}" switchType="#{simpleTogglePanel.switchType}"
			opened="false" onclick="print('onclickInputID', 'onclick work!')" oncomplete="print('oncompleteInputID', 'oncomplete work!')"
			ondblclick="print('ondblclickInputID', 'ondblclick work!')" onkeydown="print('onkeydownInputID', 'onkeydown work!')"
			onkeypress="print('onkeypressInputID', 'onkeypress work!')" onkeyup="print('onkeyupInputID', 'onkeyup work!')"
			onmousedown="print('onmousedownInputID', 'onmousedown work!')" onmousemove="print('onmousemoveInputID', 'onmousemove work!')"
			onmouseout="print('onmouseoutInputID', 'onmouseout work!')" onmouseover="print('onmouseoverInputID', 'onmouseover work!')"
			onmouseup="print('onmouseupInputID', 'onmouseup work!')">
			<f:facet name="closeMarker">
				<h:outputText value="Close It" />
			</f:facet>
			<f:facet name="openMarker">
				<h:outputText value="Open It" />
			</f:facet>
			<f:verbatim>
		   	 Some text... Some text...  Some text... Some text... Some text... Some text... Some text... Some text...
		     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text... 
		     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
		     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
		     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
		     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
	     	</f:verbatim>
		</rich:simpleTogglePanel>

		<rich:simpleTogglePanel id="sTP1" headerClass="head" label="simpleTogglePanel wiht image" width="#{simpleTogglePanel.width}"
			height="#{simpleTogglePanel.height}" rendered="#{simpleTogglePanel.rendered}" switchType="#{simpleTogglePanel.switchType}"
			opened="false" onclick="print('onclickInputID', 'onclick work!')" oncomplete="print('oncompleteInputID', 'oncomplete work!')"
			ondblclick="print('ondblclickInputID', 'ondblclick work!')" onkeydown="print('onkeydownInputID', 'onkeydown work!')"
			onkeypress="print('onkeypressInputID', 'onkeypress work!')" onkeyup="print('onkeyupInputID', 'onkeyup work!')"
			onmousedown="print('onmousedownInputID', 'onmousedown work!')" onmousemove="print('onmousemoveInputID', 'onmousemove work!')"
			onmouseout="print('onmouseoutInputID', 'onmouseout work!')" onmouseover="print('onmouseoverInputID', 'onmouseover work!')"
			onmouseup="print('onmouseupInputID', 'onmouseup work!')">
			<h:graphicImage value="/pics/podb109_61.jpg" width="500" height="300"></h:graphicImage>
		</rich:simpleTogglePanel>

		<rich:simpleTogglePanel id="sTP2" label="Focus simpleTogglePanle" width="#{simpleTogglePanel.width}" ignoreDupResponses="true"
			focus="#{simpleTogglePanel.focus}" onclick="print('onclickInputID', 'onclick work!')"
			oncomplete="print('oncompleteInputID', 'oncomplete work!')" ondblclick="print('ondblclickInputID', 'ondblclick work!')"
			onkeydown="print('onkeydownInputID', 'onkeydown work!')" onkeypress="print('onkeypressInputID', 'onkeypress work!')"
			onkeyup="print('onkeyupInputID', 'onkeyup work!')" onmousedown="print('onmousedownInputID', 'onmousedown work!')"
			onmousemove="print('onmousemoveInputID', 'onmousemove work!')" onmouseout="print('onmouseoutInputID', 'onmouseout work!')"
			onmouseover="print('onmouseoverInputID', 'onmouseover work!')" onmouseup="print('onmouseupInputID', 'onmouseup work!')">
			<f:facet name="closeMarker">
				<h:graphicImage value="/pics/ajax_stoped.gif"></h:graphicImage>
			</f:facet>
			<f:facet name="openMarker">
				<h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
			</f:facet>
			<rich:simpleTogglePanel id="INsTP">
				<h:panelGrid columns="2">
					<h:graphicImage value="/pics/podb109_61.jpg" width="250px" height="200px"></h:graphicImage>
					<f:verbatim>
	    		   	 Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
				     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text... 
				     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
				     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
				     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
				     Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
				     </f:verbatim>
				</h:panelGrid>
			</rich:simpleTogglePanel>
		</rich:simpleTogglePanel>

		<rich:spacer height="20px"></rich:spacer>
</f:subview>
