maia_modificado/.svn/pristine/01/01d2a9b4d73331b1b3207a09fa2...

65 lines
3.5 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="#{notifyController}"
queryProcess=""
queryUpdate=""
saveProcess=":formTable:data-content"
saveUpdate=":formTable:data-content"
focusContainer=":formTable:data-content" />
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
<maia:pageControls controller="#{notifyController}"
queryProcess=""
queryUpdate=""
saveProcess=":formTable:data-content"
saveUpdate=":formTable:data-content"
showCreateBtn="false" showPreviousBtn="false" showNextBtn="false" showQueryBtn="false"
dialogWidgetVar="dialog" />
</h:panelGrid>
<h:panelGrid id="data-content" columns="3" >
<p:outputLabel for="processcode" value="#{msg_bpm.lbl_process}:" />
<p:inputText id="processcode" value="#{notifyController.record.processcode}" required="true" maxlength="30" style="width:250px;" onkeyup="Maia.forceupper(event, this);"/>
<p:message for="processcode" />
<p:outputLabel for="notifyto" value="#{msg_bpm.lbl_notifyto}:" />
<p:selectOneMenu id="notifyto" value="#{notifyController.record.notifytocatalog}" style="width:250px" required="true">
<f:selectItem itemLabel="" itemValue="#{null}" />
<f:selectItems value="#{notifyController.lcatalog}" var="id"
itemLabel="#{id.description}" itemValue="#{id.pk.catalog}" />
</p:selectOneMenu>
<p:message for="notifyto" />
<p:outputLabel for="notifytask" value="#{msg_bpm.lbl_task}:" />
<p:inputTextarea id="notifytask" value="#{notifyController.record.notifytask}" rows="2" cols="60" required="true" maxlength="300" onkeyup="Maia.forceupper(event, this);"/>
<p:message for="notifytask" />
<p:outputLabel for="comments" value="#{msg_bpm.lbl_observations}:" />
<p:inputTextarea id="comments" value="#{notifyController.record.comments}" rows="2" cols="60" required="true" maxlength="300" onkeyup="Maia.forceupper(event, this);"/>
<p:message for="comments" />
<p:outputLabel for="resolution" value="#{msg_bpm.lbl_resolution}:" />
<p:inputText id="resolution" value="#{notifyController.record.resolution}" style="width:160px;" onkeyup="Maia.forceupper(event, this);" maxlength="60"/>
<p:message for="resolution" />
<p:outputLabel for="registerdate" value="#{msg_bpm.lbl_registerdate}:" />
<p:inputText id="registerdate" value="#{notifyController.record.registerdate}" disabled="true" style="width:160px;"/>
<p:message for="registerdate" />
<p:outputLabel for="userwhoreg" value="#{msg_bpm.lbl_user}:" />
<p:inputText id="userwhoreg" value="#{notifyController.record.userwhoreg}" disabled="true" style="width:160px;" />
<p:message for="userwhoreg" />
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>