alloy:outputScript

OutputScript is a UIOutput component that renders a <script> element with type="text/javascript". It supports all the features of h:outputScript and adds the use attribute which provides the ability to specify AlloyUI or YUI modules as dependencies.

Modules Usage

AlloyUI or YUI modules can be specified via the use attribute.

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