48 lines
2.6 KiB
Plaintext
Executable File
48 lines
2.6 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:c="http://java.sun.com/jstl/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">
|
|
<title>#{msg_armas.lbl_sitiosalmacenanmiento}</title>
|
|
<h:form id="formTable">
|
|
<maia:pageEvents controller="#{sitioAlmacenamientoLovController}"
|
|
queryProcess=":formTable:filters"
|
|
queryUpdate=":formTable:tcatalog"
|
|
focusContainer=":formTable:filters" />
|
|
|
|
<p:panelGrid id="filters" columns="9" styleClass="m-filters">
|
|
|
|
</p:panelGrid>
|
|
|
|
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
|
|
</h:panelGrid>
|
|
|
|
<p:panelGrid id="data-content" columns="1" styleClass="m-data-content">
|
|
<p:dataTable id="tcatalog" var="row" value="#{sitioAlmacenamientoLovController.lrecord}" rows="200" style="min-width: 300px; width: auto;" rowKey="#{row.rowkey()}"
|
|
selectionMode="single" selection="#{sitioAlmacenamientoLovController.record}" >
|
|
<p:ajax event="rowSelect" listener="#{sitioAlmacenamientoLovController.setcatalog()}" />
|
|
|
|
<p:column headerText="#{msg_general.lbl_code}" resizable="true" sortBy="#{row.pk}">
|
|
<h:outputText value="#{row.pk}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_bodega}" resizable="true" sortBy="#{row.bodega}">
|
|
<h:outputText value="#{row.bodega}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_direccion}" resizable="true" sortBy="#{row.direccion}">
|
|
<h:outputText value="#{row.direccion}" />
|
|
</p:column>
|
|
<p:column >
|
|
<p:commandButton icon="ui-icon-copy" actionListener="#{sitioAlmacenamientoLovController.setcatalog(row)}" />
|
|
</p:column>
|
|
|
|
</p:dataTable>
|
|
</p:panelGrid>
|
|
</h:form>
|
|
|
|
</ui:define>
|
|
</ui:composition> |