Update el_intro.xhtml
Snippet to demonstrate use of an implicit EL component
This commit is contained in:
parent
d0e35e7022
commit
5d8559ade0
|
@ -31,6 +31,19 @@
|
||||||
<h:outputText value="JavaScript (click after saving First Name)"/>
|
<h:outputText value="JavaScript (click after saving First Name)"/>
|
||||||
<h:button value="Alert" onclick="alert('Hello #{ELBean.firstName}')"/>
|
<h:button value="Alert" onclick="alert('Hello #{ELBean.firstName}')"/>
|
||||||
</h:panelGrid>
|
</h:panelGrid>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<h:outputText value="Current Request HTTP Headers:"/>
|
||||||
|
<table border="1">
|
||||||
|
<th>Key</th>
|
||||||
|
<th>Value</th>
|
||||||
|
<c:forEach items="#{header}" var="header">
|
||||||
|
<tr>
|
||||||
|
<td>#{header.key}</td>
|
||||||
|
<td>#{header.value}</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
|
||||||
</h:form>
|
</h:form>
|
||||||
</h:body>
|
</h:body>
|
||||||
|
|
Loading…
Reference in New Issue