Skip to content

Commit 5d8559a

Browse files
authored
Update el_intro.xhtml
Snippet to demonstrate use of an implicit EL component
1 parent d0e35e7 commit 5d8559a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

jsf/src/main/webapp/el_intro.xhtml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@
3131
<h:outputText value="JavaScript (click after saving First Name)"/>
3232
<h:button value="Alert" onclick="alert('Hello #{ELBean.firstName}')"/>
3333
</h:panelGrid>
34+
35+
<br/>
36+
<h:outputText value="Current Request HTTP Headers:"/>
37+
<table border="1">
38+
<th>Key</th>
39+
<th>Value</th>
40+
<c:forEach items="#{header}" var="header">
41+
<tr>
42+
<td>#{header.key}</td>
43+
<td>#{header.value}</td>
44+
</tr>
45+
</c:forEach>
46+
</table>
3447

3548
</h:form>
3649
</h:body>

0 commit comments

Comments
 (0)