maia/.svn/pristine/65/657173566fa41f49d6638b47708...

47 lines
2.6 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" >
<p:panel header="Reporte Actual" >
<h:panelGrid columns="4" id="fechasReporte">
<p:outputLabel for="ffechainicio" value="#{msg_armas.lbl_desde}:"/>
<p:inputText id="ffechainicio" value="#{reporteCashManagmentController.fechaInicialStr}" disabled="true"/>
<p:outputLabel for="ffechafinal" value="#{msg_armas.lbl_hasta}:"/>
<p:inputText id="ffechafinal" value="#{reporteCashManagmentController.fechaFinalStr}" disabled="true"/>
</h:panelGrid>
</p:panel>
<p:panel header="#{msg_armas.lbl_ultimaGeneracion}" id="pnlUltimaGeneracion">
<h:panelGrid columns="4" id="DatosUltimoReporte">
<p:outputLabel for="ffechaUltReporte" value="Fecha:"/>
<p:inputText id="ffechaUltReporte" value="#{reporteCashManagmentController.fechaUltReporte}" disabled="true"/>
<p:outputLabel for="fAutorUltReporte" value="Usuario:"/>
<p:inputText id="fAutorUltReporte" value="#{reporteCashManagmentController.autorUltReporte}" disabled="true" style="width:300px"/>
</h:panelGrid>
</p:panel>
</h:panelGrid>
<p:commandButton id="DescargarReporte" value="Descargar" ajax="false" immediate="true"
action="#{reporteCashManagmentController.descargarArchivo()}" process="@this" update=":formTable:pnlUltimaGeneracion">
</p:commandButton>
</p:panelGrid>
</h:form>
</ui:define>
</ui:composition>