Created
October 28, 2016 04:06
-
-
Save jonathanGB/d84debe6a9dc35f33d9638b67462d98d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8' ?> | |
<!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://xmlns.jcp.org/jsf/html" | |
xmlns:p="http://primefaces.org/ui" | |
xmlns:f="http://xmlns.jcp.org/jsf/core" | |
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> | |
<h:head> | |
<title>Consulter profils</title> | |
</h:head> | |
<h:body> | |
<h:link value="Créer un profil" outcome="index" style="display: block; text-align: center; margin-bottom: 25px;"/> | |
<p:tooltip showEvent="focus" hideEvent="blur" /> | |
<p:growl autoUpdate="true"/> | |
<h:form id="form1"> | |
<p:wizard flowListener="#{userProfileBean.handleFlow}"> | |
<p:tab id="userdetails" title="Find Profile"> | |
<p:panel header="User email"> | |
<h:panelGrid columns="3"> | |
<p:outputLabel value="Email:*"/> | |
<p:inputText id="emailId" | |
value="#{userProfileBean.emailId}" | |
validatorMessage="Invalid Email format" | |
label="EmailId" required="true" | |
requiredMessage="An Email is required" | |
title="Enter your email (e.g. [email protected])"> | |
<f:validateRegex pattern="^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9]+)*(\.[A-Za-z]{2,})$" /> | |
</p:inputText> | |
</h:panelGrid> | |
</p:panel> | |
</p:tab> | |
<p:tab id="userProfile" title="Profile"> | |
<p:panel id="Confirmation" header="View profile"> | |
<h:panelGrid columns="4"> | |
<h:outputText style="font-weight:bold" value="EmailId: " /> | |
<h:outputText value="#{userProfileBean.emailId}" /> | |
<h:outputText style="font-weight:bold" value="FirstName: " /> | |
<h:outputText value="#{userProfileBean.firstName}"/> | |
<h:outputText style="font-weight:bold" value="LastName: " /> | |
<h:outputText value="#{userProfileBean.lastName}"/> | |
<h:outputText style="font-weight:bold" value="Phone: " /> | |
<h:outputText value="#{userProfileBean.phone}"/> | |
<h:outputText style="font-weight:bold" value="Date of Birth: " /> | |
<h:outputText value="#{userProfileBean.dob}"/> | |
<h:panelGroup /> | |
<h:panelGroup /> | |
<h:outputText style="font-weight:bold" value="Number:"/> | |
<h:outputText value="#{userProfileBean.number}" /> | |
<h:outputText style="font-weight:bold" value="Street:"/> | |
<h:outputText value="#{userProfileBean.street}" /> | |
<h:outputText style="font-weight:bold" value="Unit:"/> | |
<h:outputText value="#{userProfileBean.unit}" /> | |
<h:outputText style="font-weight:bold" value="City:"/> | |
<h:outputText value="#{userProfileBean.city}" /> | |
<h:outputText style="font-weight:bold" value="Province:"/> | |
<h:outputText value="#{userProfileBean.province}" /> | |
<h:outputText style="font-weight:bold" value="Postal Code:"/> | |
<h:outputText value="#{userProfileBean.postalCode}" /> | |
</h:panelGrid> | |
<h:panelGrid columns="2"> | |
<h:outputText style="font-weight:bold" value="Bio: " /> | |
<h:inputTextarea cols="70" rows="10" readonly="true" value="#{userProfileBean.bio}" /> | |
</h:panelGrid> | |
<p:galleria panelWidth="500" value="#{userProfileBean.imageIds}" var="imageId"> | |
<p:graphicImage value="#{userProfileBean.streamedImage}" width="500" > | |
<f:param name="id" value="#{imageId}" /> | |
</p:graphicImage> | |
</p:galleria> | |
</p:panel> | |
</p:tab> | |
</p:wizard> | |
</h:form> | |
<p:blockUI block="form1" widgetVar="bui"> | |
Processing<br /> | |
<p:graphicImage width="100pt" value="/resources/images/ajax_loader.gif"/> | |
</p:blockUI> | |
</h:body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment