107 lines
6.1 KiB
Plaintext
Executable File
107 lines
6.1 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"
|
|
template="/WEB-INF/templates/template.xhtml"
|
|
xmlns:maia="http://java.sun.com/jsf/composite/maiaComponents">
|
|
<ui:define name="content">
|
|
|
|
<h:form id="formPassword">
|
|
<maia:pageEvents controller="#{passwordController}"
|
|
queryProcess=":formPassword:filters"
|
|
queryUpdate=":formPassword:data-content"
|
|
saveProcess=":formPassword:data-content"
|
|
focusContainer=":formPassword:filters" />
|
|
|
|
<p:panelGrid id="filters" columns="4" styleClass="m-filters">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.lbl_filters}" />
|
|
</f:facet>
|
|
|
|
<p:outputLabel for="channel" value="#{msg_general.lbl_channel}:" />
|
|
<p:selectOneMenu id="channel"
|
|
value="#{passwordController.mfilters['pk.channelcode']}" var="p"
|
|
style="width:250px" panelStyle="width:250px">
|
|
<f:selectItem itemLabel="" itemValue="" />
|
|
<p:ajax update="data-content" event="change" listener="#{passwordController.execute()}"></p:ajax>
|
|
<f:selectItems value="#{passwordController.lchannels}" var="vtp"
|
|
itemLabel="#{vtp.description}" itemValue="#{vtp.pk}" />
|
|
</p:selectOneMenu>
|
|
</p:panelGrid>
|
|
|
|
<h:panelGrid columns="2" id="controls" styleClass="m-controls">
|
|
<maia:pageControls controller="#{passwordController}"
|
|
queryProcess=":formPassword:filters"
|
|
queryUpdate=":formPassword:filters :formPassword:data-content"
|
|
saveProcess=":formPassword:data-content"
|
|
saveUpdate=":formPassword:data-content"
|
|
showNextBtn="false" showPreviousBtn="false" showCreateBtn="false" />
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid id="data-content" columns="2">
|
|
<p:outputLabel for="validitydays"
|
|
value="#{msg_general.lbl_validitydays}:" />
|
|
<pe:inputNumber id="validitydays" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.validitydays}" required="true"
|
|
maxlength="4" style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
|
|
<p:outputLabel for="messagedays"
|
|
value="#{msg_general.lbl_messagedays}:" />
|
|
<pe:inputNumber id="messagedays" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.messagedays}" required="true"
|
|
maxlength="2" style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
|
|
<p:outputLabel for="minlength" value="#{msg_general.lbl_minlength}:" />
|
|
<pe:inputNumber id="minlength" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.minlength}" maxlength="2"
|
|
style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
|
|
<p:outputLabel for="minnotrepeated"
|
|
value="#{msg_general.lbl_minnotrepeated}:" />
|
|
<pe:inputNumber id="minnotrepeated" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.minnotrepeated}" maxlength="3"
|
|
style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
|
|
<p:outputLabel for="minnumber" value="#{msg_general.lbl_minnumber}:" />
|
|
<pe:inputNumber id="minnumber" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.minnumber}" maxlength="2"
|
|
style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
|
|
<p:outputLabel for="minspecialcharacters"
|
|
value="#{msg_general.lbl_minspecialcharacters}:" />
|
|
<pe:inputNumber id="minspecialcharacters" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.minspecialcharacters}"
|
|
maxlength="2" style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
|
|
<p:outputLabel for="minuppercase"
|
|
value="#{msg_general.lbl_minuppercase}:" />
|
|
<pe:inputNumber id="minuppercase" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.minuppercase}" maxlength="2"
|
|
style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
|
|
<p:outputLabel for="minlowercase"
|
|
value="#{msg_general.lbl_minlowercase}:" />
|
|
<pe:inputNumber id="minlowercase" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.minlowercase}" maxlength="2"
|
|
style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
|
|
<p:outputLabel for="intentnumber"
|
|
value="#{msg_general.lbl_intentnumber}:" />
|
|
<pe:inputNumber id="intentnumber" disabled="#{!passwordController.active}"
|
|
value="#{passwordController.record.intentnumber}" maxlength="2"
|
|
style="width:50px;" decimalPlaces="0">
|
|
</pe:inputNumber>
|
|
</h:panelGrid>
|
|
</h:form>
|
|
|
|
</ui:define>
|
|
</ui:composition> |