projectDAE/ProjectDAE/ProjectDAE-war/build/web/ResponsiblePage.xhtml

55 lines
1.8 KiB
HTML
Raw Normal View History

2015-11-12 03:55:52 -08:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<head>
<title>Responsible Page </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<div>Responsibles:</div>
<h:dataTable value="#{administratorManager.allResponsibles}" var="responsible">
2015-11-13 12:14:00 -08:00
<h:column>
<f:facet name="header">Id</f:facet>
2015-11-13 15:00:23 -08:00
<h:outputText value="#{responsible.id}"/>
2015-11-13 12:14:00 -08:00
</h:column>
2015-11-12 03:55:52 -08:00
<h:column>
<f:facet name="header">Name</f:facet>
<h:outputText value="#{responsible.name}"/>
</h:column>
<h:column>
<f:facet name="header">Email</f:facet>
<h:outputText value="#{responsible.email}"/>
</h:column>
<h:column>
<h:form>
2015-11-14 14:21:14 -08:00
<h:commandLink value="Entrar" action="responsible_details?faces-redirect=true">
2015-11-13 10:36:08 -08:00
<f:setPropertyActionListener target="#{administratorManager.currentResponsible}" value="#{responsible}" />
</h:commandLink>
2015-11-14 14:21:14 -08:00
2015-11-13 15:00:23 -08:00
2015-11-12 03:55:52 -08:00
</h:form>
</h:column>
</h:dataTable>
<h:form>
<h:commandLink action="admin_user_create" value="New Responsible"></h:commandLink>
<br></br>
<h:commandLink action="index" value="Back"></h:commandLink>
</h:form>
</body>
</html>