maia_modificado/.svn/pristine/74/741e172811deb5609a38045e2fb...

71 lines
4.3 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">
<h:form id="formTable">
<maia:pageEvents controller="#{userChangePassAdmin}"
queryProcess=":formTable:filters"
queryUpdate=":formTable:filters, :formTable:data-content"
saveProcess=":formTable:data-content"
focusContainer=":formTable:filters" />
<p:panelGrid id="filters" columns="3" styleClass="m-filters">
<f:facet name="header">
<h:outputText value="#{msg_general.lbl_filters}" />
</f:facet>
<p:outputLabel for="fpkuser" value="#{msg_customer.lbl_usercode}:" />
<p:inputText id="fpkuser" value="#{userChangePassAdmin.mfilters['pk.usercode']}" style="width: 160px;" onkeyup="Maia.forceupper(event, this);" onchange="jsUser()"/>
<p:spacer/>
<p:outputLabel for="fname" value="#{msg_customer.lbl_person}:" />
<p:inputText id="fname" value="#{userChangePassAdmin.userdetail.mfilelds['personname']}" style="width: 400px;" disabled="true" />
<p:commandButton icon="ui-icon-link" actionListener="#{userChangePassAdmin.userdetail.openPersonLov()}" process="@this" styleClass="m-lov-button">
<p:ajax event="dialogReturn" listener="#{userChangePassAdmin.onReturnPersonLov}" update="filters,data-content" />
</p:commandButton>
</p:panelGrid>
<p:remoteCommand name="jsUser" actionListener="#{userChangePassAdmin.query()}" update="filters,data-content" process="@this, filters"/>
<h:panelGrid columns="2" id="controls" styleClass="m-controls">
<maia:pageControls controller="#{userChangePassAdmin}"
queryProcess=":formTable:filters"
queryUpdate=":formTable:filters :formTable:data-content"
saveProcess=":formTable:data-content"
showNextBtn="false" showPreviousBtn="false" showCreateBtn="false" />
</h:panelGrid>
<h:panelGrid id="data-content" columns="2" >
<p:outputLabel for="lenguaje" value="#{msg_general.lbl_language}:" />
<p:inputText id="lenguaje" value="#{userChangePassAdmin.userdetail.record.languagecode}" style="width:30px;" disabled="true" />
<p:outputLabel for="nickname" value="#{msg_customer.lbl_nickname}:" />
<p:inputText id="nickname" value="#{userChangePassAdmin.userdetail.record.nickname}" style="width:200px;" disabled="true" />
<p:outputLabel value="#{msg_general.lbl_channel}:" />
<p:inputText id="channelname" value="#{userChangePassAdmin.userdetail.record.modifiedData['chanelname']}" style="width:200px;" disabled="true" />
<p:outputLabel value="#{msg_general.lbl_area}:" />
<p:inputText id="areaname" value="#{userChangePassAdmin.userdetail.record.modifiedData['areaname']}" style="width:200px;" disabled="true" />
<p:spacer height="10px;"/>
<p:spacer/>
<p:outputLabel value="#{msg_general.lbl_password}:" />
<p:password id="a" value="#{userChangePassAdmin.mfilelds['p']}" required="true" maxlength="20" style="width:150px;" />
<p:outputLabel value="#{msg_general.lbl_confirmpassword}:" />
<p:password id="b" value="#{userChangePassAdmin.mfilelds['np']}" required="true" maxlength="20" style="width:150px;" styleClass="m-last-input" />
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>