<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/functions" prefix="fn" %>
<html>
	<head>
		<title></title>
	</head>
	<body>
		<f:view>
			<f:subview id="view">
				<h:form id="myForm">
					<h:inputText id="input" value="abc" />
				</h:form>
			</f:subview>

			<h:outputText value="#{fn:clientId('input')}" />
			<br />
			<h:outputText value="#{fn:element('input')}" />
			<br />
			<h:outputText value="#{fn:component('input')}" />
			<br />
			<h:outputText value="#{fn:findComponent('input').value}" />
			<br />
		</f:view>
	</body>	
</html>  
