maia/.svn/pristine/63/6388fa6e61e09a1f0913e7e060d...

72 lines
3.9 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"
xmlns:maia="http://java.sun.com/jsf/composite/maiaComponents">
<h:panelGrid columns="7" id="controls-documentos" styleClass="m-controls">
<maia:pageControls controller="#{reporteConsultaSolicitudController.solicitudDocumento}"
queryProcess=""
queryUpdate=":formReporteSolicitud:tabtramite:dt-table-documentos"
showSaveBtn="false"
showQueryBtn="false"
showCreateBtn="false"/>
</h:panelGrid>
<p:panelGrid columns="1" styleClass="m-data-content">
<f:facet name="header">
<h:outputText value="#{msg_armas.tab_documentos}" />
</f:facet>
<p:dataTable id="dt-table-documentos"
value="#{reporteConsultaSolicitudController.solicitudDocumento.lrecord}"
var="row" rows="200" style="width: 100%;" rowIndexVar="rowIndex" rowKey="#{row.rowkey()}" selectionMode="single">
<p:column headerText="#{msg_armas.lbl_No}" >
<p:outputLabel value="#{rowIndex + 1}"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_tipotramite}" style="width:50px;text-align: center;">
<p:outputLabel value="#{reporteConsultaSolicitudController.solicitudDocumento.tipoTramite(row)}"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_tramite}" >
<p:outputLabel value="#{reporteConsultaSolicitudController.solicitudDocumento.tramite(row)}" style="width:65px;text-align: center;"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_categoria}" >
<p:outputLabel value="#{reporteConsultaSolicitudController.solicitudDocumento.categoria(row)}" style="width:60px;text-align: center;"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_usoActividad}" >
<p:outputLabel value="#{reporteConsultaSolicitudController.solicitudDocumento.usoActividad(row)}" style="width:60px;text-align: center;"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_fechaEmision}" style="width:60px;text-align: center;">
<p:outputLabel value="#{row.modifiedData['documento'].fechaemision}">
<f:convertDateTime pattern="#{msg_general.dateformat}"/>
</p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_fechaexpiracion}" style="width:60px;text-align: center;">
<p:outputLabel value="#{row.modifiedData['documento'].fechaexpiracion}">
<f:convertDateTime pattern="#{msg_general.dateformat}"/>
</p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_codigoarma}" >
<p:outputLabel value="#{row.modifiedData['arma'].pk}"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_clase}" >
<p:outputLabel value="#{row.modifiedData['arma'].modifiedData['clase']}"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_tipo2}" >
<p:outputLabel value="#{row.modifiedData['arma'].modifiedData['tipo']}"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_marca}" >
<p:outputLabel value="#{row.modifiedData['arma'].modifiedData['marca']}"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_calibre}" >
<p:outputLabel value="#{row.modifiedData['arma'].modifiedData['calibre']}"></p:outputLabel>
</p:column>
<p:column headerText="#{msg_armas.lbl_serie}" >
<p:outputLabel value="#{row.modifiedData['arma'].lote}"></p:outputLabel>
</p:column>
</p:dataTable>
</p:panelGrid>
</ui:composition>