maia_modificado/.svn/pristine/8d/8d1a9cc1e0dc4d8008208ccff93...

78 lines
5.4 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"
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="#{changePassPersonalController}"
queryUpdate=":formTable"
saveProcess=":formTable"
saveUpdate=":formTable" />
<p:remoteCommand name="jsUser" actionListener="#{changePassPersonalController.query()}" update="data-content data-content2" process="@this"/>
<h:panelGrid columns="1" id="controls" styleClass="m-controls">
<p:commandButton value="#{msg_general.btn_save}" icon="ui-icon-disk" action="#{changePassPersonalController.save()}" process="@this, data-content, data-content2" update="data-content data-content2"/>
</h:panelGrid>
<h:panelGrid id="data-content" columns="2" >
<p:outputLabel for="personcode" value="#{msg_general.lbl_person_code}:" />
<p:inputText id="personcode" value="#{changePassPersonalController.record.pk.personcode}" style="width:300px;" disabled="true" />
<p:outputLabel for="personname" value="#{msg_general.lbl_usuario}:" />
<p:inputText id="personname" value="#{changePassPersonalController.mfilelds['personname']}" style="width:300px;" disabled="true" />
<p:outputLabel for="usercode" value="#{msg_general.lbl_code}:" />
<p:inputText id="usercode" value="#{changePassPersonalController.record.pk.usercode}" style="width:180px;" disabled="true" />
<p:outputLabel for="lenguaje" value="#{msg_general.lbl_language}:" />
<p:inputText id="lenguaje" value="#{changePassPersonalController.record.languagecode}" style="width:70px;" disabled="true" />
<p:outputLabel for="nickname" value="#{msg_customer.lbl_nickname}:" />
<p:inputText id="nickname" value="#{changePassPersonalController.record.nickname}" style="width:180px;" disabled="true"/>
<p:outputLabel for="channelcode" value="#{msg_general.lbl_channel}:" />
<p:inputText id="channelcode" value="#{changePassPersonalController.record.modifiedData['chanelname']}" style="width:180px;" disabled="true"/>
<p:outputLabel for="areacode" value="#{msg_general.lbl_area}:" />
<p:inputText id="areacode" value="#{changePassPersonalController.record.modifiedData['areaname']}" style="width:180px;" disabled="true"/>
<p:spacer height="10px;"/>
<p:spacer/>
</h:panelGrid>
<h:panelGrid columns="2" style="vertical-align:top">
<h:panelGrid id="data-content2" columns="2" >
<p:outputLabel for="oldpassword" value="#{msg_general.lbl_previousPassword}:" />
<p:password id="oldpassword" value="#{changePassPersonalController.mfilelds['oldpassword']}" maxlength="20" style="width:180px;" required="true"/>
<p:outputLabel for="newpassword" value="#{msg_general.lbl_password}:" />
<p:password id="newpassword" value="#{changePassPersonalController.mfilelds['newpassword']}" maxlength="20" style="width:180px;" required="true"/>
<p:outputLabel for="confirmpassword" value="#{msg_general.lbl_confirmpassword}:" />
<p:password id="confirmpassword" value="#{changePassPersonalController.mfilelds['confirmpassword']}" maxlength="20" style="width:180px;" required="true"/>
<p:outputLabel for="mailconfirmation" value="#{msg_general.lbl_correo_electronico}:"/>
<p:inputText id="mailconfirmation" value="#{changePassPersonalController.mfilelds['email']}" style="width:180px;" required="true"/>
</h:panelGrid>
<h:panelGrid columns="2" style="vertical-align:top; padding-left:20px" cellspacing="5" cellpadding="5">
<p:outputLabel value="#{msg_armas.lbl_parametros_clave}:" style="display:blok; color:blue"/>
<p:outputLabel value="" />
<p:outputLabel value="#{msg_armas.lbl_longitud_minima}" style="display:blok; width:150px; color:blue"/>
<p:outputLabel value="8" style="display:blok; width:10px"/>
<p:outputLabel value="#{msg_armas.lbl_numero_}" style="display:blok; width:150px;color:blue"/>
<p:outputLabel value="3" style="display:blok; width:10px"/>
<p:outputLabel value="#{msg_armas.lbl_caracteres_especiales}" style="display:blok; width:150px;color:blue"/>
<p:outputLabel value="1" style="display:blok; width:10px"/>
<p:outputLabel value="#{msg_armas.lbl_mayusculas}" style="display:blok; width:150px;color:blue"/>
<p:outputLabel value="1" style="display:blok; width:10px"/>
</h:panelGrid>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>