Alloy Showcase

alloy:inputSourceCode

InputSourceCode is a UIInput component that renders a field for editing source code text.

General Usage

The component supports color-coded text for various programming languages via the mode attribute.

The maxLines attribute controls the maximum number of lines that are to be displayed before a vertical scrollbar appears.


Source Code

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