Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="ISO-8859-1"?> <!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:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:sucupira="http://java.sun.com/jsf/composite/sucupira">
- <ui:composition template="/layout/public/base_publica_interna_verde.xhtml">
- <ui:define name="caminhoPagina">
- Discente
- </ui:define>
- <ui:define name="conteudo">
- <h:form id="form">
- <h:panelGroup layout="block" styleClass="form-area" id="campos">
- <sucupira:baseConsultasPublica mBean="#{discentePublicoMBean}" />
- <div class="form-container">
- <div class="form-container">
- <div class="form-grid-1" style="width: 3%;">
- <br/>
- <h:selectBooleanCheckbox id="checkDiscente" value="#{discentePublicoMBean.checkDiscente}"/>
- </div>
- <div class="form-grid-3">
- <h:outputLabel for="discente" value="Discente:" onclick="check('form:checkDiscente')"/>
- <h:inputText id="discente" onclick="check('form:checkDiscente')"
- value="#{discentePublicoMBean.nomeDiscente}" maxlength="255"/>
- </div>
- </div>
- <div class="form-container">
- <div class="form-grid-1" style="width: 3%;">
- <br/>
- <h:selectBooleanCheckbox id="checkNivel" value="#{discentePublicoMBean.checkNivel}"/>
- </div>
- <div class="form-grid-2">
- <h:outputLabel for="nivel" value="Nível:" onclick="check('form:checkNivel')"/>
- <h:selectOneMenu id="nivel" onclick="check('form:checkNivel')"
- value="#{discentePublicoMBean.idNivel}">
- <f:selectItem itemLabel="-- SELECIONE --" itemValue="0"/>
- <f:selectItems value="#{discentePublicoMBean.comboNivel}"/>
- </h:selectOneMenu>
- </div>
- </div>
- <div class="form-container">
- <div class="form-grid-1" style="width: 3%;">
- <br/>
- <h:selectBooleanCheckbox id="checkSituacao" value="#{discentePublicoMBean.checkSituacao}"/>
- </div>
- <div class="form-grid-2">
- <h:outputLabel for="situacao" value="Situação:" onclick="check('form:checkSituacao')"/>
- <h:selectOneMenu id="situacao" onchange="check('form:checkSituacao')"
- value="#{discentePublicoMBean.idSituacao}">
- <f:selectItem itemLabel="-- SELECIONE --" itemValue="0"/>
- <f:selectItems value="#{discentePublicoMBean.comboSituacao}"/>
- </h:selectOneMenu>
- </div>
- </div>
- <div class="form-container">
- <div class="form-grid-4" align="center">
- <h:commandButton styleClass="btn" id="consultar" value="Consultar"
- actionListener="#{discentePublicoMBean.consultar}" style="width: 15%;"/>
-
- <h:commandButton id="cancelar" styleClass="btn" style="width: 15%;" value="Cancelar"
- action="#{discentePublicoMBean.cancelarConsulta}" onclick="if(!cancelarOperacao()) return false"/>
- </div>
- </div>
- </div>
- </h:panelGroup>
- <h:panelGroup layout="block" rendered="#{not empty discentePublicoMBean.discentes}">
- <div class="grid_16 painel publico">
- <div class="conteudo-painel">
- <div class="area-legendas">
- <span>
- <h:graphicImage value="/images/lupa.png"/>: Visualizar
- </span>
- </div>
- <div class="form-container">
- <table class="listagem publico tablesorter">
- <caption>Discentes</caption>
- <thead>
- <tr>
- <th>Discente</th>
- <th>Nível</th>
- <th>Situação</th>
- <c:if test="${discentePublicoMBean.buscarTodasIes}">
- <th>Instituição de Ensino</th>
- </c:if>
- <th width="1%"/>
- </tr>
- </thead>
- <tbody>
- <ui:repeat var="d" value="#{discentePublicoMBean.discentes}">
- <tr>
- <td>
- <h:outputText value="#{d.nome}"/>
- </td>
- <td>
- <h:outputText value="#{d.nivel}"/>
- </td>
- <td>
- <h:outputText value="#{d.situacao}"/>
- </td>
- <c:if test="${discentePublicoMBean.buscarTodasIes}">
- <td>
- <h:outputText value="#{d.ies}"/>
- </td>
- </c:if>
- <td>
- <h:link outcome="/public/consultas/coleta/discente/viewDiscente?popup=true&idDiscente=#{d.idDiscente}" rel="_blank"
- onclick="window.open(this.href, this.target, 'width=1024,height=650,scrollbars=yes,resizable=yes'); return false">
- <h:graphicImage value="/images/lupa.png" alt="Visualizar" title="Visualizar"/>
- </h:link>
- </td>
- </tr>
- </ui:repeat>
- </tbody>
- </table>
- <sucupira:paginacao valueMBean="#{discentePublicoMBean}" reRender="form" />
- </div>
- </div>
- </div>
- </h:panelGroup>
- </h:form>
- </ui:define>
- </ui:composition>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement