template.xhtml
5.04 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE composition 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: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">
<f:view locale="pt_BR" contentType="text/html">
<h:head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<f:metadata>
<f:event type="preRenderView" listener="#{SEGBean.carregarNome}" />
</f:metadata>
<f:loadBundle basename="constantes" var="const" />
<h:outputStylesheet library="design/css" name="default.css" />
<h:outputStylesheet library="design/css" name="default_externo.css" />
<h:outputStylesheet library="design/css" name="barra_brasil.css" />
<h:outputStylesheet library="themes/css" name="css.css" />
<link type="text/css" rel="stylesheet" href="/#{const.context_path}/resources/design/primefaces/themes.css" />
<h:outputScript library="design/js" name="validation.js" target="head" />
<h:outputScript library="primefaces" name="jquery/jquery.js"
target="head" />
<h:outputScript library="design/js" name="jquery.alphanumeric.pack.js" />
<h:outputScript library="design/js" name="jquery.numeric.js" />
<h:outputScript library="design/js" name="jquery.maskMoney.js" />
<h:outputScript library="design/js"
name="jquery.maskedinput-1.3.min.js" />
<h:outputScript library="themes/js" name="utils.js" target="head" />
<title><h:outputText value="Protocolo Eletrônico :: [[versao] 1.0.0]" /></title>
<ui:insert name="head"></ui:insert>
</h:head>
<h:body>
<div class="outer-container">
<div class="inner-container">
<div>
<!--
<h:graphicImage library="themes/imagem" name="cabecalho_pe.jpg" />
-->
<h:graphicImage library="themes/imagem" name="cabecalho-externo_CADMJ_v5.jpg" style=" width : 978px; height : 120px;"/>
</div>
<div align="right" class="nomeSeg">
<h:outputText value="#{SEGBean.nome}" />
</div>
<div class="main">
<div class="content">
<script type="text/javascript">
jQuery(function() {
jQuery("textarea[maxlength]").bind('input propertychange', function() {
var maxLength = jQuery(this).attr('maxlength');
if (jQuery(this).val().length > maxLength) {
jQuery(this).val(jQuery(this).val().substring(0, maxLength));
}
})
});
</script>
<h:panelGroup id="formSegMenuBar" layout="block">
<h:form id="formulario_menu" >
<!--
<p:menubar id="SEGMenu" model="#{SEGBean.menuModel}"
autoSubmenuDisplay="true" />
-->
<p:menubar id="SEGMenu"
style="width :970px; margin-bottom:2px;">
<p:submenu label="Proponente">
<p:menuitem icon="ui-icon-folder-open"
value="Listar Proponente"
update=":formulario_menu:"
outcome="/pages/listar-proponente-empresa.xhtml"
action="/pages/listar-proponente-empresa.xhtml" ajax="false" />
<p:menuitem icon="ui-icon-folder-open"
value="Listar E-mail Proponente"
update=":formulario_menu:"
outcome="/pages/consulta-email.xhtml"
action="/pages/consulta-email.xhtml" ajax="false" />
</p:submenu>
<p:submenu label="Petição">
<p:menuitem icon="ui-icon-folder-open"
value="Listar Petição"
update=":formulario_menu:"
outcome="/pages/listar-peticao.jsf"
action="/pages/listar-peticao.jsf" ajax="false" />
</p:submenu>
<p:submenu label="Relatório Gerêncial">
<p:menuitem icon="ui-icon-folder-open"
value="Relatório"
update=":formulario_menu:"
outcome="/pages/relatorio-gerencial.jsf"
action="/pages/relatorio-gerencial.xhtml" ajax="false" />
</p:submenu>
</p:menubar>
<p:poll interval="120" listener="#{KeepAliveBean.keepAlive}" />
</h:form>
</h:panelGroup>
<p:ajaxStatus style="width:16px;height:16px;">
<f:facet name="start">
<div class="load">
<h:graphicImage library="design/imagem" name="aguarde.gif" />
</div>
</f:facet>
<f:facet name="complete">
<h:outputText value="" />
</f:facet>
</p:ajaxStatus>
<!-- modal = true nao funciona no IE -->
<p:dialog header="Aviso" modal="false" height="150" width="450"
widgetVar="popupMsg">
<h:outputText style="color:red;" id="conteudoMsg" />
<h:inputHidden id="idMsg" />
</p:dialog>
<ui:insert name="body" />
</div>
<div class="clearer"></div>
</div>
<br />
<div>
<!--
<h:graphicImage library="themes/imagem" name="rodape_pe.jpg" />
-->
<h:graphicImage library="design/imagem" name="rodape-externo_MJ.jpg" style=" width : 978px; height : 30px;"/>
</div>
</div>
</div>
</h:body>
</f:view>
</html>