57 lines
3.0 KiB
Plaintext
Executable File
57 lines
3.0 KiB
Plaintext
Executable File
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
|
|
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:c="http://java.sun.com/jstl/core"
|
|
xmlns:p="http://primefaces.org/ui"
|
|
xmlns:pe="http://primefaces.org/ui/extensions"
|
|
xmlns:fn="http://java.sun.com/jsp/jstl/functions"
|
|
xmlns:maia="http://java.sun.com/jsf/composite/maiaComponents"
|
|
template="/WEB-INF/templates/template.xhtml">
|
|
<ui:define name="content">
|
|
<h:form id="formTable">
|
|
<style>
|
|
.ui-growl-title {font-weight:bold;padding:0 0 7px 0;display:block;font-size: 200%;}
|
|
.ui-growl-message p {font-size: 200%}
|
|
</style>
|
|
|
|
<maia:pageEvents controller=""
|
|
queryProcess=":formTable:filters"
|
|
queryUpdate=":formTable:filters"
|
|
saveProcess=""
|
|
saveUpdate=""
|
|
focusContainer=":formTable:filters" />
|
|
|
|
<p:panelGrid id="filters" columns="1" styleClass="m-filters">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.lbl_filters}" />
|
|
</f:facet>
|
|
<h:panelGrid columns="2" >
|
|
<p:outputLabel for="fpkdocumento" value="#{msg_customer.lbl_person}:" style="display:block;width:160px;" />
|
|
<h:panelGroup>
|
|
<p:inputText id="fpkdocumento" value="#{reporteNumPermisosController.numeroDocumento}" style="width: 250px;" disabled="true" />
|
|
<p:commandButton icon="ui-icon-link" actionListener="#{reporteNumPermisosController.openPersonLov()}"
|
|
process="@this" styleClass="m-lov-button" oncomplete="Maia.focus('formTable\\:idQuery');">
|
|
<p:ajax event="dialogReturn" listener="#{reporteNumPermisosController.onReturnPersonLov}" update=":formTable:filters" />
|
|
</p:commandButton>
|
|
</h:panelGroup>
|
|
<p:outputLabel for="fnombre" value="#{msg_armas.lbl_nombrerazonsocial}:" />
|
|
<p:inputText id="fnombre" value="#{reporteNumPermisosController.razonSocial}" disabled="true" maxlength="60" style="width: 400px;" onkeyup="Maia.forceupper(event, this);"/>
|
|
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="2">
|
|
<p:commandButton id="reporte" value="#{msg_armas.lbl_imprimir}" actionListener="#{reporteNumPermisosController.reporteTotalPermisos()}" ajax="false" process="@this"/>
|
|
<p:commandButton id="reporteXls" value="#{msg_armas.lbl_imprimirXls}" actionListener="#{reporteNumPermisosController.reporteTotalPermisosXls()}" ajax="false" process="@this"/>
|
|
|
|
</h:panelGrid>
|
|
|
|
</p:panelGrid>
|
|
|
|
|
|
</h:form>
|
|
</ui:define>
|
|
</ui:composition> |