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.

Resource Usage

A JavaScript resource can be added to the page by specifying the library and name attributes.

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