

ramani
@ 569
ramani / Ramani / web / restrito / listarAfiliacoes.xhtml
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 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <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:p="http://primefaces.org/ui" xmlns:f="http://java.sun.com/jsf/core"> <h:head/> <h:body> <ui:composition template="../template.xhtml"> <ui:define name="caminho"> <h:outputLabel value="#{msg['listarAfiliacoes.Caminho']}" style="font-weight: bold"/> </ui:define> <ui:define name="conteudoCentro"> <p:layout> <h:form id="form"> <p:growl id="growl" showDetail="true" life="3000"/> <p:layoutUnit position="center"> <center> <h:outputLabel value="#{msg['listarAfiliacoes.AfiliacoesCadastradas']}" style="font-size: 25px; font-weight: bold"/> </center> <hr/> <p:growl showDetail="true"/> <p:panel id="panel" style="border-color: transparent"> <p:dataTable value="#{afiliacaoBean.afiliacoes}" var="afiliacao" paginator="true" rows="50"> <p:column headerText="#{msg['listarAfiliacoes.Afiliacao']}" sortBy="#{afiliacao.nome}"> <h:outputText value="#{afiliacao.nome}"/> </p:column> <p:column style="width: 15%"> <p:commandButton title="#{msg['listarAfiliacoes.DetalhesAfiliacao']}" onclick="dialogDetalhes.show();" update=":form:displayDetalhes" icon="ui-icon-newwin"> <f:setPropertyActionListener value="#{afiliacao}" target="#{afiliacaoBean.afiliacao}"/> </p:commandButton> <p:commandButton title="#{msg['listarAfiliacoes.EditarAfiliacao']}" onclick="editar.show();" update=":formEdic:edicao" icon="ui-icon-pencil" rendered="#{colaboradorBean.administrador}"> <f:setPropertyActionListener value="#{afiliacao}" target="#{afiliacaoBean.afiliacao}"/> </p:commandButton> <p:commandButton title="#{msg['listarAfiliacoes.ExcluirAfiliacao']}" onclick="confirmation.show();" icon="ui-icon-trash" rendered="#{colaboradorBean.administrador}"> <f:setPropertyActionListener value="#{afiliacao}" target="#{afiliacaoBean.afiliacao}"/> </p:commandButton> </p:column> </p:dataTable> </p:panel> </p:layoutUnit> <p:dialog header="#{msg['listarAfiliacoes.DetalhesAfiliacao']}" widgetVar="dialogDetalhes" appendToBody="true" modal="true" resizable="false" closeOnEscape="true" width="1000"> <p:panel id="displayDetalhes" style="border-color: transparent"> <h:outputLabel value="#{msg['listarAfiliacoes.NomeDp']}" style="font-weight: bold"/> <h:outputText value="#{afiliacaoBean.afiliacao.nome}"/> <br/> <h:outputLabel value="#{msg['listarAfiliacoes.SiglaDp']}" style="font-weight: bold"/> <h:outputText value="#{afiliacaoBean.afiliacao.sigla}"/> <br/> <h:outputLabel value="#{msg['listarAfiliacoes.CidadeDp']}" style="font-weight: bold"/> <h:outputText value="#{afiliacaoBean.afiliacao.cidade}"/> <br/> <h:outputLabel value="#{msg['listarAfiliacoes.PaisDp']}" style="font-weight: bold"/> <h:outputText value="#{afiliacaoBean.afiliacao.pais}"/> <br/> <hr/> <h:outputLabel value="#{msg['listarAfiliacoes.Autores']}" style="font-weight: bold"/> <h:dataTable value="#{afiliacaoBean.autoresAssociados}" var="autor"> <h:column> <h:outputText value="#{autor.nome}"/> </h:column> </h:dataTable> <hr/> <p:commandButton value="#{msg['listarAfiliacoes.Fechar']}" title="#{msg['listarAfiliacoes.FecharJanela']}" onclick="dialogDetalhes.hide();" icon="ui-icon-close" iconPos="right"/> </p:panel> </p:dialog> </h:form> <p:dialog header="#{msg['listarAfiliacoes.EdicaoDadosAfiliacao']}" widgetVar="editar" appendToBody="true" modal="true" draggable="false" resizable="false" closeOnEscape="true"> <h:form id="formEdic"> <h:panelGrid id="edicao" columns="1" width="100%"> <h:outputLabel value="#{msg['listarAfiliacoes.Nome']}" style="font-weight: bold"/> <p:inputText value="#{afiliacaoBean.afiliacao.nome}" required="true" requiredMessage="#{msg['listarAfiliacoes.NomeObrigatorio']}" style="width: 100%"/> <br/> <h:outputLabel value="#{msg['listarAfiliacoes.Sigla']}" style="font-weight: bold"/> <p:inputText value="#{afiliacaoBean.afiliacao.sigla}" style="width: 100%"/> <br/> <h:outputLabel value="#{msg['listarAfiliacoes.Cidade']}" style="font-weight: bold"/> <p:inputText value="#{afiliacaoBean.afiliacao.cidade}" style="width: 100%"/> <br/> <h:outputLabel value="#{msg['listarAfiliacoes.Pais']}" style="font-weight: bold"/> <p:inputText value="#{afiliacaoBean.afiliacao.pais}" style="width: 100%"/> <hr/> </h:panelGrid> <h:panelGrid columns="2" width="100%"> <p:commandButton value="#{msg['listarAfiliacoes.Salvar']}" title="#{msg['listarAfiliacoes.SalvarAlteracoes']}" action="#{afiliacaoBean.atualizar()}" ajax="false" style="width: 200px" icon="ui-icon-disk" iconPos="right"/> <p:commandButton value="#{msg['listarAfiliacoes.Cancelar']}" title="#{msg['listarAfiliacoes.CancelarEdicao']}" onclick="editar.hide();" style="width: 200px" icon="ui-icon-cancel" iconPos="right"/> </h:panelGrid> </h:form> </p:dialog> <p:dialog header="#{msg['listarAfiliacoes.ConfirmacaoExclusao']}" widgetVar="confirmation" appendToBody="true" modal="true" draggable="false" closable="false" resizable="false" closeOnEscape="true"> <h:outputText value="#{msg['listarAfiliacoes.TemCertezaExcluir']}"/> <hr/> <h:form dir="RTL"> <p:commandButton value="#{msg['listarAfiliacoes.Nao']}" title="#{msg['listarAfiliacoes.ManterAfiliacao']}" onclick="confirmation.hide();" style="width: 100px" icon="ui-icon-closethick" iconPos="right"/> <p:commandButton value="#{msg['listarAfiliacoes.Sim']}" title="#{msg['listarAfiliacoes.ExcluirAfiliacao']}" action="#{afiliacaoBean.excluir()}" ajax="false" style="width: 100px" icon="ui-icon-check" iconPos="right"/> </h:form> </p:dialog> </p:layout> </ui:define> </ui:composition> </h:body> </html> |
Commits for ramani/Ramani/web/restrito/listarAfiliacoes.xhtml
Revision | Author | Commited | Message |
---|---|---|---|
569
![]() |
![]() |
Tue 27 Jan, 2015 03:42:36 +0000 | |
568
![]() |
![]() |
Mon 15 Dec, 2014 03:35:05 +0000 | |
519
![]() |
![]() |
Tue 15 Jul, 2014 19:38:03 +0000 | |
377
![]() |
![]() |
Sat 25 Jan, 2014 12:31:27 +0000 | |
376
![]() |
![]() |
Fri 24 Jan, 2014 12:06:35 +0000 | |
375
![]() |
![]() |
Thu 23 Jan, 2014 21:11:58 +0000 | |
343
![]() |
![]() |
Wed 04 Dec, 2013 07:52:22 +0000 | Refatoração das páginas. |
339
![]() |
![]() |
Mon 02 Dec, 2013 19:19:10 +0000 | Finalização do breakpoint. |
334
![]() |
![]() |
Sat 30 Nov, 2013 20:55:59 +0000 | Refatoração das páginas. |
329 |
![]() |
Wed 27 Nov, 2013 15:54:53 +0000 | Refatoração das páginas. |