Alloy Showcase

alloy:outputRemainingChars

OutputRemainingChars is a UIOutput component that displays the number of characters remaining for an associated alloy:inputText or alloy:inputTextarea.

General Usage

The value attribute can contain text with a {0} token that is substituted with the number of remaining characters. If the value attribute is not specified, then only the number of remaining characters are rendered.

There are 10 character(s) remaining.

20

Source Code

Liferay Faces Alloy 3.0.1 + Liferay Faces Bridge Implementation 4.1.0 + Showcase Common 3.0.1 + Liferay Faces Util 3.1.0 + Mojarra 2.2.14