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 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