Contents > Facelets UI Tag Reference > ui:param
The UI Param tag is used to pass objects as named variables between Facelets. The name attribute of the UI Param tag should match the name attribute of a ui:define tag contained in a ui:composition or ui:decorate in the template page receiving the object. The UI Param tag can also be used to pass objects to another page by using the ui:include tag.
Example
param.jsf <ui:include src="hello.jsf"> <ui:param name="greeting" value="#{helloBean.message}"/> </ui:include>
HTML Output
param.jsf <h2>Hello World</h2>