maia/.svn/pristine/22/223b2c8aa7c76557b1eeb56cb3c...

53 lines
3.1 KiB
Plaintext
Executable File

<ui:composition
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.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions"
template="/WEB-INF/templates/template.xhtml"
xmlns:maia="http://java.sun.com/jsf/composite/maiaComponents">
<ui:define name="content">
<h:form id="formTable">
<maia:pageEvents controller=""
queryProcess=":formTable:filters"
saveProcess=""
saveUpdate=""
focusContainer=":formTable:filters" />
<p:panelGrid styleClass="m-filters" columns="1" style="width:1200px">
<f:facet name="header">
<h:outputText value="#{msg_armas.hfld_datosgenerales}" />
</f:facet>
<h:panelGrid id="filters" columns="1" >
<h:panelGrid columns="4" id="detallePersona">
<!-- <p:outputLabel for="ffechainicio" value="#{msg_general.lbl_inittdate}:"/>
<p:calendar id="ffechainicio" value="#{reporteNumArmasEstadoController.fechainicial}" maxlength="30" pattern="dd-MM-yyyy" disabled="false" required="true" size="27" onkeyup="Maia.forceupper(event, this);">
<p:ajax event="dateSelect" update="ffechainicio" />
</p:calendar>
<p:outputLabel for="ffechainicio" value="#{msg_general.lbl_enddate}:"/>
<p:calendar id="ffechafinal" value="#{reporteNumArmasEstadoController.fechafinal}" maxlength="30" pattern="dd-MM-yyyy" disabled="false" required="true" size="27" onkeyup="Maia.forceupper(event, this);">
<p:ajax event="dateSelect" update="ffechafinal" />
</p:calendar>
<p:outputLabel for="tiporeg" value="#{msg_armas.lbl_tiporegistro}:" />
<p:selectOneMenu id="tiporeg" value="#{reporteNumArmasEstadoController.idTipoReg}" style="width:125px">
<f:selectItem itemLabel="TODOS" itemValue="TODOS" />
<f:selectItems value="#{reporteNumArmasEstadoController.ltiporeg}" var="id"
itemLabel="#{id.description}" itemValue="#{id.pk.catalog}" />
</p:selectOneMenu>
-->
<p:outputLabel for="orgcontrol" value="#{msg_armas.lbl_estado_arma}:" />
<p:selectManyMenu id="orgcontrol" required="true" value="#{reporteNumArmasEstadoController.estadosSeleccionados}" style="width:250px">
<f:selectItems value="#{reporteNumArmasEstadoController.lestadosArma}" var="estado"
itemLabel="#{estado.description}" itemValue="#{estado.pk.catalog}" />
</p:selectManyMenu>
</h:panelGrid>
</h:panelGrid>
<p:commandButton id="reporte" value="#{msg_armas.lbl_imprimir}" actionListener="#{reporteNumArmasEstadoController.reporteTramitesCentro()}" ajax="false" process="@this"/>
</p:panelGrid>
</h:form>
</ui:define>
</ui:composition>