61 lines
3.3 KiB
Plaintext
Executable File
61 lines
3.3 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">
|
|
|
|
<p:panelGrid id="filterstra" columns="14" styleClass="m-filters">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.lbl_filters}" />
|
|
</f:facet>
|
|
<maia:lovTransaction controller="#{queryController.transactionquery}"
|
|
openMethod="openTransactionLov" onReturnMethod="onReturnTransactionLov"
|
|
update=":formTable:tabquery:filterstra :formTable:tabquery:data-contenttra" />
|
|
</p:panelGrid>
|
|
|
|
<h:panelGrid columns="7" id="controlstra" styleClass="m-controls">
|
|
<maia:pageControls controller="#{queryController}" childController="#{queryController.transactionquery}"
|
|
queryProcess=":formTable:tabquery:filterstra"
|
|
queryUpdate=":formTable:tabquery:dt-transacqry"
|
|
createUpdate=":formDialogTran:pEdit"
|
|
dialogWidgetVar="dialogtrans"
|
|
showSaveBtn="false" />
|
|
</h:panelGrid>
|
|
|
|
<p:panelGrid id="data-contenttra" columns="1" styleClass="m-data-content">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.tab_transactionprocess}"/>
|
|
</f:facet>
|
|
<p:dataTable id="dt-transacqry" var="row" value="#{queryController.transactionquery.lrecord}" rows="200" style="min-width: 500px; width: auto;" rowKey="#{row.rowkey()}" selectionMode="single">
|
|
<p:column headerText="#{msg_general.lbl_executeprocessclass}" resizable="true" style="width:150px" sortBy="#{row.processcode}">
|
|
<h:outputText value="#{row.processcode}"/>
|
|
</p:column>
|
|
<p:column headerText="#{msg_general.lbl_description}" resizable="true" style="width:150px">
|
|
<h:outputText value="#{row.modifiedData['shortdesc']}"/>
|
|
</p:column>
|
|
<p:column headerText="#{msg_general.lbl_order}" resizable="true" sortBy="#{row.executionorder}">
|
|
<h:outputText value="#{row.executionorder}"/>
|
|
</p:column>
|
|
<p:column headerText="#{msg_general.lbl_state}" resizable="true" sortBy="#{row.status}">
|
|
<h:outputText value="#{row.status}"/>
|
|
</p:column>
|
|
<p:column styleClass="m-action-column">
|
|
<p:commandButton value="#{msg_general.btn_edit}" update=":formDialogTran:pEdit" oncomplete="dialogtrans.show()"
|
|
styleClass="m-action-button" icon="ui-icon-pencil" process="@this">
|
|
<f:setPropertyActionListener target="#{queryController.transactionquery.record}" value="#{row}" />
|
|
<f:setPropertyActionListener target="#{queryController.transactionquery.showRow}" value="#{false}" />
|
|
<f:setPropertyActionListener target="#{queryController.transactionquery.newRow}" value="#{false}" />
|
|
</p:commandButton>
|
|
</p:column>
|
|
<p:column styleClass="m-action-column">
|
|
<p:commandButton value="#{msg_general.btn_delete}" update=":formTable:tabquery:dt-transacqry" styleClass="m-action-button" icon="ui-icon-trash"
|
|
action="#{queryController.transactionquery.remove()}" process="@this">
|
|
<f:setPropertyActionListener target="#{queryController.transactionquery.record}" value="#{row}" />
|
|
</p:commandButton>
|
|
</p:column>
|
|
</p:dataTable>
|
|
</p:panelGrid>
|
|
|
|
</ui:composition> |