Alloy Showcase

ui:composition

Same as ui:component, ui:composition can add content to a Facelet page, but, as opposite to ui:component, it won't be added to the component tree.

General Usage

Additionally, it's possible to reuse other Facelet pages using template attribute.

This text comes from a template

Source Code

Liferay Faces Alloy 3.0.1 + Liferay Faces Bridge Implementation 4.1.0 + Showcase Common 3.0.1 + Liferay Faces Util 3.1.0 + Mojarra 2.2.14