Created
July 6, 2010 12:33
-
-
Save anonymous/465325 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:f="http://java.sun.com/jsf/core" | |
xmlns:ui="http://java.sun.com/jsf/facelets" | |
xmlns:p="http://primefaces.prime.com.tr/ui" | |
xmlns:c="http://java.sun.com/jsp/jstl/core"> | |
<h:head> | |
<title> | |
<ui:insert name="title" /> | |
</title> | |
<link href="${request.contextPath}/css/font.css" type="text/css" rel="stylesheet"/> | |
</h:head> | |
<!-- Variáveis a serem definidas: formId, managed, modalConsulta --> | |
<h:body> | |
<h:form id="navForm"> | |
<a href="${request.contextPath}/index"> | |
<h:graphicImage id="imgIndex" url="/imagens/home.png"/> | |
<p:tooltip value="#{msg.voltarPaginaInicial}" for="imgIndex"/> | |
</a> | |
<a href="${request.contextPath}/quit" onclick="return confirm('Tem certeza?');"> | |
<h:graphicImage id="imgSair" url="/imagens/quit.png"/> | |
<p:tooltip value="#{msg.sair}" for="imgSair"/> | |
</a> | |
</h:form> | |
<p:growl id="templateGrowl" /> | |
<p:panel header="#{msg.cadastroAlunos}"> | |
<p:ajaxStatus> | |
<f:facet name="start"> | |
<h:graphicImage value="/imagens/loading.gif" /> | |
</f:facet> | |
<f:facet name="complete"> | |
<h:outputText value="" /> | |
</f:facet> | |
</p:ajaxStatus> | |
<h:form id="#{formId}" prependId="false"> | |
<p:commandButton action="#{managed.novo}" value="#{msg.novo}" | |
update="#{formId}" /> | |
<p:commandButton action="#{managed.salvar}" value="#{msg.salvar}" | |
update="templateGrowl,#{formId}" /> | |
<p:commandButton action="#{managed.excluir}" value="#{msg.excluir}" | |
update="templateGrowl,#{formId}" /> | |
<p:commandButton value="#{msg.procurar}" | |
update="templateGrowl,#{formId}" action="#{managed.loadAll}" /> | |
<ui:insert name="conteudo" /> | |
</h:form> | |
</p:panel> | |
</h:body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment