78 lines
4.6 KiB
Plaintext
Executable File
78 lines
4.6 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"
|
|
template="/WEB-INF/templates/template.xhtml">
|
|
<ui:define name="content">
|
|
|
|
<h:form id="formTable">
|
|
<maia:pageEvents controller="#{generateAccountingDateController}"
|
|
queryUpdate=":formTable:days"
|
|
saveProcess=":formTable:filters, :formTable:data-content"
|
|
focusContainer=":formTable:filters" />
|
|
|
|
|
|
<p:panelGrid id="filters" columns="4" styleClass="m-filters">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.lbl_parametersgenerationdates}" />
|
|
</f:facet>
|
|
<p:outputLabel for="finitbranch" value="#{msg_general.lbl_initbranch}:" />
|
|
<p:inputText id="finitbranch" value="#{generateAccountingDateController.mfilelds['branchcodemin']}" style="width: 50px;" />
|
|
<p:outputLabel for="fendbranch" value="#{msg_general.lbl_endbranch}:" />
|
|
<p:inputText id="fendbranch" value="#{generateAccountingDateController.mfilelds['branchcodemax']}" style="width: 50px;" />
|
|
|
|
<p:outputLabel for="finitdate" value="#{msg_general.lbl_inittdate}:" />
|
|
<p:calendar id="finitdate" value="#{generateAccountingDateController.initdate}" showOn="button" navigator="true" mindate="#{generateAccountingDateController.accountingdate.getAccountingDate()}" pattern="#{msg_general.dateformat}" converter="converter.date" />
|
|
<p:outputLabel for="fenddate" value="#{msg_general.lbl_enddate}:" />
|
|
<p:calendar id="fenddate" value="#{generateAccountingDateController.enddate}" showOn="button" navigator="true" mindate="#{generateAccountingDateController.accountingdate.getAccountingDate()}" pattern="#{msg_general.dateformat}" converter="converter.date" />
|
|
</p:panelGrid>
|
|
|
|
<h:panelGrid columns="2" id="controls" styleClass="m-controls">
|
|
<maia:pageControls controller="#{generateAccountingDateController}"
|
|
saveProcess=":formTable:filters, :formTable:data-content"
|
|
showNextBtn="false" showPreviousBtn="false" showCreateBtn="false" showQueryBtn="false"/>
|
|
</h:panelGrid>
|
|
|
|
<p:panelGrid id="data-content" columns="1" styleClass="m-data-content" style="min-width:220px;">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.htbl_accountingdays}" />
|
|
</f:facet>
|
|
<p:dataTable id="days" var="row" value="#{generateAccountingDateController.ldays}" rows="200" editable="true" editMode="cell" >
|
|
|
|
<p:column headerText="#{msg_general.lbl_day}" resizable="true" >
|
|
<h:outputText value="#{row['daydesc']}" />
|
|
</p:column>
|
|
|
|
<p:column headerText="#{msg_general.lbl_isaccounting}" >
|
|
<p:cellEditor>
|
|
<f:facet name="output"><h:outputText value="#{row['accounting']}" /></f:facet>
|
|
<f:facet name="input">
|
|
<h:selectOneMenu value="#{row['accounting']}" style="width:100%" >
|
|
<f:selectItem itemLabel="Y" itemValue="Y" />
|
|
<f:selectItem itemLabel="N" itemValue="N" />
|
|
</h:selectOneMenu>
|
|
</f:facet>
|
|
</p:cellEditor>
|
|
</p:column>
|
|
|
|
<p:column headerText="#{msg_general.lbl_isworking}" >
|
|
<p:cellEditor>
|
|
<f:facet name="output"><h:outputText value="#{row['teller']}" /></f:facet>
|
|
<f:facet name="input">
|
|
<h:selectOneMenu value="#{row['teller']}" style="width:100%">
|
|
<f:selectItem itemLabel="Y" itemValue="Y" />
|
|
<f:selectItem itemLabel="N" itemValue="N" />
|
|
</h:selectOneMenu>
|
|
</f:facet>
|
|
</p:cellEditor>
|
|
</p:column>
|
|
</p:dataTable>
|
|
</p:panelGrid>
|
|
</h:form>
|
|
|
|
|
|
</ui:define>
|
|
</ui:composition> |