Commit | Line | Data |
---|---|---|
59e4c94a MS |
1 | <rich:toolBar |
2 | xmlns="http://www.w3.org/1999/xhtml" | |
3 | xmlns:ui="http://java.sun.com/jsf/facelets" | |
4 | xmlns:h="http://java.sun.com/jsf/html" | |
5 | xmlns:f="http://java.sun.com/jsf/core" | |
6 | xmlns:s="http://jboss.com/products/seam/taglib" | |
7 | xmlns:rich="http://richfaces.org/rich"> | |
8 | <rich:toolBarGroup> | |
9 | <h:outputText value="#{projectName}:"/> | |
10 | <s:link id="menuHomeId" view="/home.xhtml" value="Página Inicial" propagation="none"/> | |
11 | </rich:toolBarGroup> | |
12 | <rich:dropDownMenu showDelay="250" hideDelay="0" submitMode="none"> | |
13 | <f:facet name="label">Cadastros</f:facet> | |
14 | <rich:menuItem> | |
15 | <s:link view="/seguro/admin/usuario/UsuarioList.xhtml" | |
16 | value="Usuários" | |
17 | id="UsuarioId" | |
18 | includePageParams="false" | |
19 | propagation="none"/> | |
20 | </rich:menuItem> | |
21 | <rich:menuItem> | |
22 | <s:link view="/seguro/admin/grupo/GrupoList.xhtml" | |
23 | value="Grupos" | |
24 | id="GrupoId" | |
25 | includePageParams="false" | |
26 | propagation="none"/> | |
27 | </rich:menuItem> | |
28 | <rich:menuItem> | |
29 | <s:link view="/seguro/admin/instituicao/InstituicaoList.xhtml" | |
30 | value="Instituições" | |
31 | id="InstituicaoId" | |
32 | includePageParams="false" | |
33 | propagation="none"/> | |
34 | </rich:menuItem> | |
35 | <rich:menuItem> | |
36 | <s:link view="/seguro/admin/privilegio/PrivilegioList.xhtml" | |
37 | value="Privilégios" | |
38 | id="PrivilegioId" | |
39 | includePageParams="false" | |
40 | propagation="none"/> | |
41 | </rich:menuItem> | |
42 | <rich:menuItem> | |
43 | <s:link view="/seguro/admin/regra/RegraList.xhtml" | |
44 | value="Regras" | |
45 | id="RegraId" | |
46 | includePageParams="false" | |
47 | propagation="none"/> | |
48 | </rich:menuItem> | |
87c281c9 MS |
49 | <rich:menuItem> |
50 | <s:link view="/seguro/admin/rede/ArquivoRedeList.xhtml" | |
51 | value="Redes Bayesianas" | |
52 | id="RedeId" | |
53 | includePageParams="false" | |
54 | propagation="none"/> | |
55 | </rich:menuItem> | |
59e4c94a MS |
56 | </rich:dropDownMenu> |
57 | <!-- @newMenuItem@ --> | |
58 | <rich:toolBarGroup location="right"> | |
59 | <h:outputText id="menuWelcomeId" value="#{credentials.username}" rendered="#{identity.loggedIn}"/> | |
60 | <s:link id="menuLoginId" view="/login.xhtml" value="Fazer Login" rendered="#{not identity.loggedIn}" propagation="none"/> | |
61 | <s:link id="menuLogoutId" view="/home.xhtml" action="#{identity.logout}" value=" | Sair" rendered="#{identity.loggedIn}" propagation="none"/> | |
62 | </rich:toolBarGroup> | |
63 | </rich:toolBar> |