alloy:inputSourceCode

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

Default Value Usage

A default value can specified using when the value attribute is bound via EL to a model bean property. In the example below, the default value of the sourceText property is set inside of the InputSourceCodeModelBean.getSourceText() method.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmldoc>
<xmldoc>
	<xmlelement>This is an editable XML document.</xmlElement>
</xmldoc>

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