<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %>


<html>
<%@include file="/paginas/comum/head.jsp" %>
<body>
<f:view>
<%@include file="/paginas/comum/cabecalho.jsp" %>



<f:verbatim>
<style	 type="text/css">
	.colunaIngredientes {
		width: 200px;
	}
</style>
</f:verbatim>

<t:dataTable id="tabelaDepizzasDeIngredientes"
var="pizza" value="#{pizzaControlador.pizzas}">
	 
	
	
	<h:column> 
		<f:facet name="header">
			<h:outputText value="#{pizza.nome}"/>
		</f:facet>
		
		
		<t:dataTable id="tabelaDeIngredientes"
			var="ingrediente" value="#{pizza.ingredientes}"
			headerClass="tabelaCabecalho"
			footerClass="tabelaRodape"
			columnClasses="colunaIngredientes"
			rowClasses="tabelaLinha1,tabelaLinha2"
			rowOnMouseOver="tabelaMouseOver(this)"
			rowOnMouseOut="tabelaMouseOut(this)">
			
			
			<h:column> 
				<f:facet name="header">
					<h:outputText value="#{pizza.nome}"/>
				</f:facet>
				
				<h:outputText value="#{ingrediente.nome}"/>
			</h:column>
			
			
		</t:dataTable>
		
		
	</h:column>
	
</t:dataTable>

</f:view>
<%@include file="/paginas/comum/rodape.jsp" %>
</body>
</html>
