<?xml version="1.0" encoding="ISO-8859-1" ?>
<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-1" />
	<jsp:text>
		<![CDATA[ <?xml version="1.0" encoding="ISO-8859-1" ?> ]]>
	</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-1" />
	<title>Insert title here</title>
<link href="styl.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
	<f:view>
	<h:form id="formId">
			<h:panelGroup layout="block"
				style="text-decoration: overline;background-color: gray;">
				<h:outputText value="dziedziczony styl"></h:outputText>
				<h:commandButton id="comId" value="Submit"></h:commandButton>
			</h:panelGroup>
		</h:form>


		<br />
		<br />
		<h:panelGrid columns="2" captionClass="caption" cellpadding="3"
			border="3" width="50%" footerClass="footer" headerClass="header">
			<h:outputText value="(1,1)" />
			<h:outputText value="(1,2)" />
			<h:outputText value="(2,1)" />
			<h:outputText value="(2,2)" />
			<h:outputText value="(3,1)" />
			
			<f:facet name="footer">
				<h:panelGroup>
					<h:outputText value="To jest footer" />
					<h:graphicImage url="img/eclipseicon.gif" />
				</h:panelGroup>
			</f:facet>
			<f:facet name="header">
				<h:panelGroup>
					<h:outputText value="To jest header" />
					<h:graphicImage url="img/eclipseicon.gif" />
				</h:panelGroup>
			</f:facet>
			<f:facet name="caption">
				<h:panelGroup>
					<h:outputText value="To jest caption" />
					<h:graphicImage url="img/eclipseicon.gif" />
				</h:panelGroup>
			</f:facet>
		</h:panelGrid>
	</f:view>
	</body>
	</html>
</jsp:root>