principal.xhtml
2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.prime.com.tr/ui" template="/templates/template-sem-menu.xhtml">
<f:metadata>
<f:event type="preRenderView" listener="#{principalBean.populaTitulo}" />
</f:metadata>
<ui:define name="body">
<br/>
<br/>
<div align="center" style="font-family: Lucida Sans; font-size: 20px; color: #377DB4; font-weight: normal;">
<h:outputText value="#{principalBean.saudacao}"/><b><h:outputText value="#{principalBean.nome}" /></b>
</div>
<div align="center" style="font-family: Lucida Sans; font-size: 14px; color: #377DB4; font-weight: normal;">
<h:outputText value="O seu cadastro está com a Situação em:"/><b><h:outputText value="#{principalBean.situacaoCadastro}"/>
<h:outputText value=", verifique o seu email."/></b>
</div>
<br/>
<br/>
<br/>
<div align="center">
<h:form id="principal" prependId="false">
<h:panelGrid id="panelLinks" columns="5">
<h:link title="Perfil" outcome="cadastro-proponente.jsf?faces-redirect=true" >
<h:graphicImage name="botao-perfil.png" library="design/imagem" />
</h:link>
<h:link title="Pessoa Jurídica" outcome="pessoa-juridica.jsf?faces-redirect=true" >
<h:graphicImage name="botao-pessoa-juridica.png" library="design/imagem" />
</h:link>
<h:link title="Peticionamento eletrônico" outcome="cadastro-peticao.jsf?faces-redirect=true"
rendered="#{principalBean.model.situacaoCadastro.id eq 3}">
<h:graphicImage name="botao-peticionamento.png" library="design/imagem" />
</h:link>
<h:link title="Petições Realizadas" outcome="consultar-peticao.jsf?faces-redirect=true"
rendered="#{principalBean.model.situacaoCadastro.id eq 3}">
<h:graphicImage name="botao-peticoes_realizadas.png" library="design/imagem" />
</h:link>
<p:commandLink action="#{principalBean.logout}" ajax="false" title="Sair do sistema">
<h:graphicImage name="botao-sair.png" library="design/imagem" />
</p:commandLink>
</h:panelGrid>
</h:form>
</div>
</ui:define>
</ui:composition>