a7a7f99b3a
Configuración de regla de navegación para JSF. Pruebas con primefaces Nuevo ManagedBean para pantalla home. Pagina de login para pruebas.
36 lines
1.0 KiB
HTML
36 lines
1.0 KiB
HTML
<?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:ui="http://java.sun.com/jsf/facelets"
|
|
xmlns:f="http://java.sun.com/jsf/core"
|
|
xmlns:h="http://java.sun.com/jsf/html"
|
|
xmlns:p="http://primefaces.org/ui">
|
|
|
|
<h:head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<title>myHealth page header</title>
|
|
<h:outputStylesheet library="css" name="estilos.css" />
|
|
</h:head>
|
|
|
|
<h:body>
|
|
<div id="layout">
|
|
<div id="top" class="top">
|
|
<h1 class="Titulo">myHealth Site</h1>
|
|
</div>
|
|
<hr />
|
|
<div id="menucontainer" class="estilomenu">
|
|
<p:spinner></p:spinner>
|
|
|
|
<h:form>
|
|
<p>Welcome #{login.userName}, <h:commandLink action="#{login.logout}" value="Logout">Logout</h:commandLink></p>
|
|
</h:form>
|
|
</div>
|
|
<div id="content">
|
|
<ui:insert name="content">Content</ui:insert>
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
</h:body>
|
|
</html>
|