Last active
June 5, 2018 17:11
-
-
Save nosrednawall/518e795ff7022b0272e56bd5a4660528 to your computer and use it in GitHub Desktop.
Template xhtml para jsf
This file contains hidden or 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
| <?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://xmlns.jcp.org/jsf/html" | |
| xmlns:f="http://xmlns.jcp.org/jsf/core" | |
| xmlns:p="http://primefaces.org/ui" | |
| xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> | |
| <h:head> | |
| </h:head> | |
| <h:body> | |
| <div id="page"> | |
| <div id="header"> | |
| <ui:insert name="header"> | |
| <ui:include src="/resources/template/header.xhtml" /> | |
| </ui:insert> | |
| </div> | |
| <div id="conteudo"> | |
| <ui:insert name="conteudo"> | |
| </ui:insert> | |
| </div> | |
| <div id="footer"> | |
| <ui:insert name="footer"> | |
| <ui:include src="/resources/template/footer.xhtml" /> | |
| </ui:insert> | |
| </div> | |
| </div> | |
| </h:body> | |
| </html> |
This file contains hidden or 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
| <?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://xmlns.jcp.org/jsf/html" | |
| xmlns:f="http://xmlns.jcp.org/jsf/core" | |
| xmlns:p="http://primefaces.org/ui" | |
| xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> | |
| <body> | |
| <ui:composition> | |
| <div class="ui-g"> | |
| <div id="conteudo"> | |
| <ui:insert name="conteudo"> | |
| <h1>aqui tem conteúdo</h1> | |
| </ui:insert> | |
| </div> | |
| </div> | |
| </ui:composition> | |
| </body> | |
| </html> |
This file contains hidden or 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
| <?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://xmlns.jcp.org/jsf/html" | |
| xmlns:f="http://xmlns.jcp.org/jsf/core" | |
| xmlns:p="http://primefaces.org/ui" | |
| xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> | |
| <body> | |
| <ui:composition> | |
| <h1>Cabeçalho</h1> | |
| </ui:composition> | |
| </body> | |
| </html> |
This file contains hidden or 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
| <?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://xmlns.jcp.org/jsf/html" | |
| xmlns:f="http://xmlns.jcp.org/jsf/core" | |
| xmlns:p="http://primefaces.org/ui" | |
| xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> | |
| <h:body> | |
| <ui:composition template="/_template.xhtml"> | |
| <ui:define name="content"></ui:define> | |
| </ui:composition> | |
| </h:body> | |
| </html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment