Advertisement
kugelbergerer

Untitled

Jan 7th, 2017
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.93 KB | None | 0 0
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml"
  4.    xmlns:h="http://java.sun.com/jsf/html"
  5.    xmlns:ui="http://java.sun.com/jsf/facelets"
  6.    xmlns:f="http://java.sun.com/jsf/core"
  7.    xmlns:p="http://primefaces.org/ui">
  8.     <ui:composition template="template_full.xhtml">
  9.         <ui:define name="custom_css1">
  10.             <link rel="stylesheet"  type="text/css" href="css/asset.css"/>
  11.         </ui:define>
  12.         <ui:define name="content">
  13.            
  14.            
  15.             <h:form styleClass="main border">
  16.                 <p:growl id="message" showDetail="true" />
  17.            
  18.                 <p:panel header="new User">
  19.                     <h:panelGrid columns="2" cellpadding="5">
  20.                         <p:outputLabel for="vorname" value="Vorname: " />
  21.                         <p:inputMask id="vorname" value="#{b_AdminAddUser.vorname}"/>
  22.                         <p:outputLabel for="nachname" value="Nachname: " />
  23.                         <p:inputMask id="nachname" value="#{b_AdminAddUser.nachname}"/>
  24.                         <p:outputLabel for="email" value="E-Mail: " />
  25.                         <p:inputMask id="email" value="#{b_AdminAddUser.email}"/>
  26.                         <p:outputLabel for="username" value="Username: " />
  27.                         <p:inputMask id="username" value="#{b_AdminAddUser.username}"/>
  28.                         <p:outputLabel for="passwort" value="Passwort: " />
  29.                         <p:password id="passwort" value="#{b_AdminAddUser.passwort}"/>
  30.                         <p:outputLabel for="confirmation" value="Passwort bestätigen: " />
  31.                         <p:password id="confirmation" value="#{b_AdminAddUser.confirmation}"/>
  32.                        
  33.                            <p:outputLabel for="securitygroup" value="SecurityGroup: " />
  34.                         <p:selectOneMenu id="securitygroup" value="#{b_AdminAddUser.securitygroup}" style="width:250px">
  35.                             <f:selectItem itemLabel="Select Security Group" itemValue="" noSelectionOption="true" />
  36.                             <f:selectItems value="#{b_AdminAddUser.securitygroups}" />
  37.                         </p:selectOneMenu>
  38.                        
  39.                           <p:outputLabel for="markt" value="Markt: " />
  40.                         <p:selectOneMenu id="markt" value="#{b_AdminAddUser.markt}" style="width:250px">
  41.                             <f:selectItem itemLabel="Select Markt" itemValue="" noSelectionOption="true" />
  42.                             <f:selectItems value="#{b_AdminAddUser.marketlist}" />
  43.                         </p:selectOneMenu>
  44.                        
  45.                     </h:panelGrid>
  46.                       <p:commandButton value="Submit" update="message" actionListener="#{b_AdminAddUser.checknewuser}"/>
  47.               </p:panel>
  48.             </h:form>
  49.             <h:form styleClass="main border">
  50.                 <h:panelGrid columns="2" columnClasses="column" cellpadding="5">
  51.                     <p:outputLabel for="usernamesearch" value="Username: " />
  52.                     <p:inputText id="usernamesearch" value="#{b_AdminEditUser.usernamesearch}"/>
  53.                 </h:panelGrid>
  54.                 <p:commandButton value="Submit" update="form_edit:vorname"/>
  55.             </h:form>
  56.             <h:form id="form_edit">
  57.                 <h:outputLabel for="vorname" value="Vorname: " />              
  58.                 <h:inputText id="vorname" value="#{b_AdminEditUser.usernamesearch}" required="true" label="text">
  59.                     <f:ajax listener="#{B_AdminEditUser.test}"/>
  60.                 </h:inputText>
  61.             </h:form>
  62.             <h:form>
  63.                 <h:panelGrid columns="3" cellpadding="5">        
  64.                     <h:outputText value="Blur: " />
  65.                     <p:inputText id="surname" value="#{b_UserView.lastname}">
  66.                         <p:ajax event="blur" update="out2" />
  67.                     </p:inputText>
  68.                     <h:outputText id="out2" value="#{b_UserView.lastname}" />
  69.                 </h:panelGrid>
  70.             </h:form>
  71.             <br/><br/>
  72.             <br/><br/>
  73.         </ui:define>
  74.     </ui:composition>
  75. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement