Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="ISO-8859-1" ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:p="http://primefaces.org/ui">
- <ui:composition template="template_full.xhtml">
- <ui:define name="custom_css1">
- <link rel="stylesheet" type="text/css" href="css/asset.css"/>
- </ui:define>
- <ui:define name="content">
- <h:form styleClass="main border">
- <p:growl id="message" showDetail="true" />
- <p:panel header="new User">
- <h:panelGrid columns="2" cellpadding="5">
- <p:outputLabel for="vorname" value="Vorname: " />
- <p:inputMask id="vorname" value="#{b_AdminAddUser.vorname}"/>
- <p:outputLabel for="nachname" value="Nachname: " />
- <p:inputMask id="nachname" value="#{b_AdminAddUser.nachname}"/>
- <p:outputLabel for="email" value="E-Mail: " />
- <p:inputMask id="email" value="#{b_AdminAddUser.email}"/>
- <p:outputLabel for="username" value="Username: " />
- <p:inputMask id="username" value="#{b_AdminAddUser.username}"/>
- <p:outputLabel for="passwort" value="Passwort: " />
- <p:password id="passwort" value="#{b_AdminAddUser.passwort}"/>
- <p:outputLabel for="confirmation" value="Passwort bestätigen: " />
- <p:password id="confirmation" value="#{b_AdminAddUser.confirmation}"/>
- <p:outputLabel for="securitygroup" value="SecurityGroup: " />
- <p:selectOneMenu id="securitygroup" value="#{b_AdminAddUser.securitygroup}" style="width:250px">
- <f:selectItem itemLabel="Select Security Group" itemValue="" noSelectionOption="true" />
- <f:selectItems value="#{b_AdminAddUser.securitygroups}" />
- </p:selectOneMenu>
- <p:outputLabel for="markt" value="Markt: " />
- <p:selectOneMenu id="markt" value="#{b_AdminAddUser.markt}" style="width:250px">
- <f:selectItem itemLabel="Select Markt" itemValue="" noSelectionOption="true" />
- <f:selectItems value="#{b_AdminAddUser.marketlist}" />
- </p:selectOneMenu>
- </h:panelGrid>
- <p:commandButton value="Submit" update="message" actionListener="#{b_AdminAddUser.checknewuser}"/>
- </p:panel>
- </h:form>
- <h:form styleClass="main border">
- <h:panelGrid columns="2" columnClasses="column" cellpadding="5">
- <p:outputLabel for="usernamesearch" value="Username: " />
- <p:inputText id="usernamesearch" value="#{b_AdminEditUser.usernamesearch}"/>
- </h:panelGrid>
- <p:commandButton value="Submit" update="form_edit:vorname"/>
- </h:form>
- <h:form id="form_edit">
- <h:outputLabel for="vorname" value="Vorname: " />
- <h:inputText id="vorname" value="#{b_AdminEditUser.usernamesearch}" required="true" label="text">
- <f:ajax listener="#{B_AdminEditUser.test}"/>
- </h:inputText>
- </h:form>
- <h:form>
- <h:panelGrid columns="3" cellpadding="5">
- <h:outputText value="Blur: " />
- <p:inputText id="surname" value="#{b_UserView.lastname}">
- <p:ajax event="blur" update="out2" />
- </p:inputText>
- <h:outputText id="out2" value="#{b_UserView.lastname}" />
- </h:panelGrid>
- </h:form>
- <br/><br/>
- <br/><br/>
- </ui:define>
- </ui:composition>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement