Alloy Showcase
ui:decorate
Very similar to ui:composition, ui:decorate Facelet can add content to the current JSF page, but will add all the external elements to it (just the opposite as ui:composition does).General Usage
For templating reusing, you can usetemplate
attribute pointing to a JSF page.
This text will be rendered This text will be rendered too This text comes from a template
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