Portal Showcase
ui:param
With ui:param it's possible to send some named parameters to templates used by ui:include, ui:composition or ui:decorate.General Usage
As an example, you can use those parameters using EL expressions as its identifier.This text comes from a ui:param
Source Code
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> <ui:decorate template="template.xhtml"> <ui:param name="templateParam" value="This text comes from a ui:param"/> </ui:decorate> </ui:composition>
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html"> <br/> <br/> <h:outputText value="#{templateParam}"/> </ui:composition>
Liferay Faces Bridge Implementation 5.0.0 + Liferay Faces Portal 5.0.0 + Showcase Common 3.1.1 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20