ui:define can create sections inside a template that is using any of ui:component, ui:composition, ui:decorate or ui:fragment.

General Usage

To define names for each section, it's mandatory to use name attribute. For inserting content into these sections, use ui:insert.


Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20