ae galera começei aprender jsf
entao nao entedo muito
ae fiz uma listinha ir tentei
apresenta em tela mais nao apresenta nada
nem os nomes simple quer pedir para apresenta
tipo lista de clientes
sera quer e pq esto fazendo no xhtml
vi varios exemplos no jsp
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
>
<h:head>
<title>Facelet Title</title>
</h:head>
<h:body>
<h1>Lista de Usuarios</h1>
<f:view>
<h:dataTable value="#{myEscopo.users}" var="item">
<h:column>
<f:facet name="header">
<h:outputText value="Name"/>
</f:facet>
<h:outputText value="#{item.name}"/>
</h:column>
<h:column>
<h:outputText value="#{item.endereco}"/>
</h:column>
<h:column>
<h:outputText value="#{item.idade}"/>
</h:column>
</h:dataTable>
</f:view>
</h:body>
</html>