<?xml version="1.0" encoding="ISO-8859-2" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html" version="2.0">
	<jsp:directive.page language="java"
		contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-2" />
	<jsp:text>
		<![CDATA[ <?xml version="1.0" encoding="ISO-8859-2" ?> ]]>
	</jsp:text>
	<jsp:text>
		<![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
	</jsp:text>
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2" />
	<title>Przykład korzystania z identyfikatorów w kodzie JS</title>
	</head>
	<body>
	<f:view>
		<h:form id="formId">
			<h:commandButton id="submitId" value="Zatwierdź" actionListener="#{bB.zatwierdz}"/>
			<h:commandButton id="cancelId" type="reset"
				onmouseover="document.getElementById('formId:outputText').innerHTML='Uważaj bo skasujesz dane'"
				onmouseout="document.getElementById('formId:outputText').innerHTML=''"
				value="Anuluj" />
			<h:inputText id="inputId" />
			<h:outputText id="outputText" style="color:red;"> <h:form /> </h:outputText>
		</h:form>
	</f:view>
	</body>
	</html>
</jsp:root>