Cambio en la descripción de PDS MyHealth a MyHealth
Configuración de regla de navegación para JSF. Pruebas con primefaces Nuevo ManagedBean para pantalla home. Pagina de login para pruebas.
This commit is contained in:
@@ -1,23 +1,36 @@
|
||||
<?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">
|
||||
<f:metadata>
|
||||
<f:viewParam name="refresh" value="#{specs.refresh}"/>
|
||||
</f:metadata>
|
||||
|
||||
<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">
|
||||
<f:metadata>
|
||||
<f:viewParam name="refresh" value="#{specs.refresh}" />
|
||||
</f:metadata>
|
||||
|
||||
<ui:composition template="./header.xhtml">
|
||||
<ui:define name="content">
|
||||
<h:form align="left" >
|
||||
<div style="margin: auto; width: 800px">
|
||||
<div style="display: inline; float: right;">
|
||||
<!-- Crear menu de aplicación solo si estamos logeados -->
|
||||
<h:form>
|
||||
<p:panel header="Prueba con Primefaces">
|
||||
<h:panelGrid columns="2">
|
||||
<h:outputLabel value="Fecha" />
|
||||
<p:calendar pattern="dd/MM/yyyy" />
|
||||
</h:panelGrid>
|
||||
</p:panel>
|
||||
</h:form>
|
||||
<h:form align="left">
|
||||
<div style="margin: auto; width: 800px">
|
||||
<div style="display: inline; float: right;">
|
||||
<!-- Crear menu de aplicación solo si estamos logeados -->
|
||||
</div>
|
||||
<br />
|
||||
<p:spinner />
|
||||
<br /> Welcome #{home.userName}
|
||||
<!-- Mostrar página de bienvenida -->
|
||||
</div>
|
||||
<br /><br />
|
||||
<!-- Mostrar página de bienvenida -->
|
||||
</div>
|
||||
</h:form>
|
||||
</h:form>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
Reference in New Issue
Block a user