Parameter Component |
This advanced component embeds a JavaServer Faces UIParameter component in a JavaServer Faces component.
There are two common uses:
<h:outputLink value="/mp3StreamerServlet">
<f:param name="album" value="#{Page1.albumId.value}"/>
<f:param name="track" value="#{Page1.trackId.value}"/>
</h:outputLink>
<h:outputFormat value="You have {0} items in your shopping cart.">
<f:param value="#{SessionBean1.cart.itemCount}"/>
</h:outputFormat>
| Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. |