

ramani
@ 569
ramani / Ramani / web / restrito / listarConferencias.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 |
<?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['listarConferencias.Caminho']}" style="font-weight: bold"/> </ui:define> <ui:define name="conteudoCentro"> <p:layout> <h:form id="form"> <p:layoutUnit position="center"> <center> <h:outputLabel value="#{msg['listarConferencias.ConferenciasCadastradas']}" style="font-size: 25px; font-weight: bold"/> </center> <hr/> <p:growl showDetail="true"/> <p:panel id="panel" style="border-color: transparent"> <p:dataTable value="#{conferenciaBean.conferencias}" var="conf" paginator="true" rows="50"> <p:column headerText="#{msg['listarConferencias.Conferencia']}" sortBy="#{conf.nome}" width="85%"> <h:outputText value="#{conf.nome}"/> </p:column> <p:column style="width: 10%"> <p:commandButton title="#{msg['listarConferencias.DetalhesConferencia']}" onclick="dialogDetalhes.show();" update=":form:displayDetalhes" icon="ui-icon-newwin"> <f:setPropertyActionListener value="#{conf}" target="#{conferenciaBean.conferencia}"/> </p:commandButton> <p:commandButton title="#{msg['listarConferencias.EditarConferencia']}" onclick="editar.show();" update=":formEdic:edicao" icon="ui-icon-pencil" rendered="#{colaboradorBean.administrador}"> <f:setPropertyActionListener value="#{conf}" target="#{conferenciaBean.conferencia}"/> </p:commandButton> <p:commandButton title="#{msg['listarConferencias.ExcluirConferencia']}" onclick="confirmation.show();" icon="ui-icon-trash" rendered="#{colaboradorBean.administrador}"> <f:setPropertyActionListener value="#{conf}" target="#{conferenciaBean.conferencia}"/> </p:commandButton> </p:column> </p:dataTable> </p:panel> </p:layoutUnit> <p:dialog header="#{msg['listarConferencias.DetalhesConferencia']}" widgetVar="dialogDetalhes" appendToBody="true" modal="true" resizable="false" closeOnEscape="true" width="1000"> <p:panel id="displayDetalhes" style="border-color: transparent"> <h:outputLabel value="#{msg['listarConferencias.NomeDp']}" style="font-weight: bold"/> <h:outputText value="#{conferenciaBean.conferencia.nome}"/> <br/> <h:outputLabel value="#{msg['listarConferencias.SiglaDp']}" style="font-weight: bold"/> <h:outputText value="#{conferenciaBean.conferencia.sigla}"/> <br/> <hr/> <h:outputLabel value="#{msg['listarConferencias.Edicoes']}" style="font-weight: bold"/> <h:dataTable value="#{conferenciaBean.conferencia.edicaoList}" var="edic"> <h:column> <h:outputText value="#{edic.ano}"/> </h:column> </h:dataTable> <hr/> <p:commandButton value="#{msg['listarConferencias.Fechar']}" title="#{msg['listarConferencias.FecharJanela']}" onclick="dialogDetalhes.hide();" icon="ui-icon-close" iconPos="right"/> </p:panel> </p:dialog> </h:form> <p:dialog header="#{msg['listarConferencias.EdicaoDadosConferencia']}" 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['listarConferencias.Nome']}" style="font-weight: bold"/> <p:inputText value="#{conferenciaBean.conferencia.nome}" required="true" requiredMessage="#{msg['listarConferencias.NomeObrigatorio']}" style="width: 100%"/> <hr/> </h:panelGrid> <h:panelGrid columns="2" width="100%"> <p:commandButton value="#{msg['listarConferencias.Salvar']}" title="#{msg['listarConferencias.SalvarAlteracoes']}" action="#{conferenciaBean.atualizar()}" ajax="false" style="width: 200px" icon="ui-icon-disk" iconPos="right"/> <p:commandButton value="#{msg['listarConferencias.Cancelar']}" title="#{msg['listarConferencias.CancelarEdicao']}" onclick="editar.hide();" style="width: 200px" icon="ui-icon-cancel" iconPos="right"/> </h:panelGrid> </h:form> </p:dialog> <p:dialog header="#{msg['listarConferencias.ConfirmacaoExclusao']}" widgetVar="confirmation" appendToBody="true" modal="true" draggable="false" closable="false" resizable="false" closeOnEscape="true"> <h:outputText value="#{msg['listarConferencias.TemCertezaExcluir']}"/> <hr/> <h:form dir="RTL"> <p:commandButton value="#{msg['listarConferencias.Nao']}" title="#{msg['listarConferencias.ManterConferencia']}" onclick="confirmation.hide();" style="width: 100px" icon="ui-icon-closethick" iconPos="right"/> <p:commandButton value="#{msg['listarConferencias.Sim']}" title="Excluir conferência" action="#{msg['listarConferencias.ExcluirConferencia']}" 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/listarConferencias.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. |
319 |
![]() |
Sun 17 Nov, 2013 18:26:28 +0000 | Refatoração das páginas. |