Skip to content

Commit a8d9d81

Browse files
authored
Update el_intro.xhtml
Section indicating the use of an implicit EL object (header)
1 parent 8a19546 commit a8d9d81

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎jsf/src/main/webapp/el_intro.xhtml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
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+
<h:outputText value="Current Request HTTP Headers:"/>
36+
<h:panelGrid columns="2" >
37+
<ui:repeat value="#{header}" var="header">
38+
<h:outputText value="#{header.key}: "/>
39+
<h:outputText value="#{header.value}"/>
40+
</ui:repeat>
41+
</h:panelGrid>
3442

3543
</h:form>
3644
</h:body>

0 commit comments

Comments
 (0)