maia_modificado/.svn/pristine/6d/6d7c9fde188ce5364c93264ef6d...

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="#{reporteTipoArmasController.fechainicial}" maxlength="30"
pattern="dd-MM-yyyy" disabled="false" required="true"/>
<p:outputLabel for="ffechainicio" value="#{msg_general.lbl_enddate}:"/>
<p:calendar id="ffechafinal" value="#{reporteTipoArmasController.fechafinal}" maxlength="30"
pattern="dd-MM-yyyy" disabled="false" required="true"/>
<p:outputLabel for="fidentificacion" value="#{msg_armas.lbl_noDocumento}:" />
<p:inputText id="fidentificacion" value="#{reporteTipoArmasController.customerperson.identification}" maxlength="30"
disabled="true" style="width: 160px;"/>
<p:commandButton id="cargar" icon="ui-icon-link" actionListener="#{ventaController.openPersonLov()}" process="@this, :formTable:filters">
<p:ajax event="dialogReturn" listener="#{reporteTipoArmasController.onReturnPersonLov}" update=":formTable:filters"/>
</p:commandButton>
<p style="width: 32px" />
<p:outputLabel for="ftranstipo" value="#{msg_armas.lbl_estado}:"/>
<p:selectOneMenu id="ftranstipo" var="p" value="#{reporteTipoArmasController.estado}" style="width:150px" >
<f:selectItem itemLabel="TODOS" itemValue="#{null}" />
<f:selectItems value="#{reporteTipoArmasController.lestados}" var="id"
itemLabel="#{id.description}" itemValue="#{id.pk.catalog}" />
</p:selectOneMenu>
</h:panelGrid>
</h:panelGrid>
<p:commandButton id="reporte" value="#{msg_armas.lbl_imprimir}" actionListener="#{reporteTipoArmasController.generarReporte()}" ajax="false" process="@this"/>
</p:panelGrid>
</h:form>
</ui:define>
</ui:composition>