maia_modificado/.svn/pristine/de/def0c895aa1fd5e05ae429b62c1...

40 lines
1.9 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:p="http://primefaces.org/ui"
xmlns:maia="http://java.sun.com/jsf/composite/maiaComponents">
<p:panelGrid columns="1">
<f:facet name="header">
<h:outputText value="#{msg_armas.lbl_seleccionarguardias}" />
</f:facet>
<h:panelGroup layout="block">
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
<maia:pageControls controller="#{reporteConsultaSolicitudController.solicitudGuardias}"
queryProcess=""
queryUpdate=""
showCreateBtn="false"
showSaveBtn="false"
showQueryBtn="false" showNextBtn="false" showPreviousBtn="false"/>
</h:panelGrid>
<p:panelGrid columns="1">
<f:facet name="header">
<h:outputText value="#{msg_armas.lbl_listadoguardias}" />
</f:facet>
<h:panelGrid styleClass="m-data-content">
<p:dataTable id="dtGuardias" value="#{reporteConsultaSolicitudController.solicitudGuardias.lrecord}" var="row" rows="200" style="width: 500px;" rowKey="#{row.rowkey()}" selectionMode="single">
<p:column headerText="#{msg_armas['lbl_cedula']}">
<h:outputText value="#{row.modifiedData['guardia']==null?'':row.modifiedData['guardia'].modifiedData['gcedula']}" />
</p:column>
<p:column headerText="#{msg_armas['lbl_nombre']}">
<h:outputText value="#{row.modifiedData['guardia']==null?'':row.modifiedData['guardia'].modifiedData['gnombre']}" />
</p:column>
<p:column headerText="#{msg_armas['lbl_estado']}">
<h:outputText value="#{row.modifiedData['guardia']==null?'':row.modifiedData['estado'] == 'APT' ? 'APTO':'NO APTO'}" />
</p:column>
</p:dataTable>
</h:panelGrid>
</p:panelGrid>
</h:panelGroup>
</p:panelGrid>
</ui:composition>