forked from dschadow/Java-Web-Security
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccountRandom.xhtml
More file actions
27 lines (23 loc) · 1.15 KB
/
Copy pathaccountRandom.xhtml
File metadata and controls
27 lines (23 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?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">
<h:head>
<h:outputStylesheet library="css" value="styles.css" name="styles.css" />
<title>Chapter 05 - Access Reference Maps</title>
</h:head>
<h:body>
<h1>Chapter 05 - Access Reference Maps</h1>
<p>Account details (user id #{accountRandom.userId}).</p>
<h:panelGrid columns="2" rendered="#{accountRandom.account != null}">
<strong>Account name</strong> <h:outputText value="#{accountRandom.account.name}" />
<strong>Account type</strong> <h:outputText value="#{accountRandom.account.type}" />
<strong>Account id</strong> <h:outputText value="#{accountRandom.account.accountId}" />
<strong>Account owner</strong> <h:outputText value="#{accountRandom.account.ownerId}" />
</h:panelGrid>
<h:panelGrid columns="1" rendered="#{accountRandom.account == null}">
<p>No account found</p>
</h:panelGrid>
<p><a href="index.xhtml">Back</a></p>
</h:body>
</html>