maia_modificado/.svn/pristine/d7/d796ba9144d2adab1a5c0d32714...

74 lines
4.2 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_general.lbl_filters}" />
</f:facet>
<h:panelGrid id="filters" columns="1" >
<h:panelGrid columns="4" id="fechasReporte">
<p:outputLabel for="ffechainicio" value="#{msg_general.lbl_inittdate}:"/>
<p:calendar id="ffechainicio" value="#{cashManagementHistoryController.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="ffechafinal" value="#{msg_general.lbl_enddate}:"/>
<p:calendar id="ffechafinal" value="#{cashManagementHistoryController.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>
</h:panelGrid>
<br/>
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
<maia:pageControls controller="#{cashManagementHistoryController}"
queryProcess=":formTable:filters"
queryUpdate=":formTable:cashlist"
showCreateBtn="false" showSaveBtn="false"
createUpdate=""
dialogWidgetVar="" />
<p:commandButton value="#{msg_armas.btn_limpiar}" icon="ui-icon-trash" action="#{cashManagementHistoryController.limpiar()}" process="@this" update="formTable:cashlist, formTable:ffechainicio, formTable:ffechafinal"/>
</h:panelGrid>
</h:panelGrid>
<p:panelGrid id="data-content" columns="1" styleClass="m-data-content">
<f:facet name="header">
<h:outputText value="REPORTES GENERADOS" />
</f:facet>
<p:dataTable id="cashlist" var="row" value="#{cashManagementHistoryController.lrecord}" rows="200" style="min-width: 500px; width: auto;" rowKey="#{row.rowkey()}" selectionMode="single">
<p:column headerText="Fecha" resizable="true" style="width:50px">
<h:outputText value="#{row.modifiedData['fecha']}" />
</p:column>
<p:column headerText="Hora" resizable="true" style="width:40px">
<h:outputText value="#{row.modifiedData['hora']}" />
</p:column>
<p:column headerText="Usuario" resizable="true" style="width:120px">
<h:outputText value="#{row.modifiedData['personname']}" />
</p:column>
<p:column headerText="Nombre Archivo" resizable="true" style="width:100px" >
<h:outputText value="#{row.nombrearchivo}" />
</p:column>
<p:column headerText="Path Alfresco" resizable="true" style="width:250px">
<h:outputText value="#{row.modifiedData['pathAlfresco']}" />
</p:column>
</p:dataTable>
</p:panelGrid>
</p:panelGrid>
</h:form>
</ui:define>
</ui:composition>