alloy:bodyBody is a UIOutput that renders a
<body>element for webapps and a
Since it extends HtmlBody, it supports all the features of h:body. However, the main benefit of using alloy:body is that scripts specified by
<script>...</script>just before the closing
General UsageThe usage of alloy:body in webapps is the same as with portlets. However, the surrounding tag in a webapp is
<html>whereas the surrounding tag in a portlet is f:view.
Liferay Faces Alloy 3.0.0 + Liferay Faces Bridge Implementation 4.0.0 + Showcase Common 3.0.0 + Liferay Faces Util 3.0.0 + Mojarra 2.2.13