This textEditor tag is used to show multi line of text. Description field or comments fields is a good candidate to use such a UI control.
The textEditor tag is child tag of formLayout or panelLayout.
The textEditor tag does not have any child tag.
The following example shows the XML for a inputText tag.
<formLayout columns="1"; blockSize="5" fieldWidth="400" > <textEditor label="#{workitemmodel.labels.COMMENTS}" value="#{workitemmodel.values.COMMENTS}" readOnly="true" id="listCommentsId"> </formLayout >
Name | Type | Supports EL? | Description |
---|---|---|---|
disabled | String | no | If set to true, the control is in ready only mode. |
id | String | no | UI component identifier. There could be multiple textEditor controls and this id attribute is used to uniquely identify the control. |
label | String | yes | Field label to show in the UI. EL can be used to get the correct localized string based on the JDeveloper locale used. |
maximumLength | String | no | Maximum length of the control in number of charactors. |
pprTargets | String | no | UI component ID that needs to be refreshed after the value of this textEditor field is updated. It can be a single ID or a group of IDs seperated by comma. This is used when configuring dependent fields. |
readOnly | String | no | If set to true, no user input is allowed. The control is disabled. |
required | String | yes | If set to true, user has to provide approporiate value. It can also take an EL expersion like "#{workitemmodel.required.OWNER}", which will use value from the "required" attribute of the corresponding field defined in the model XML. |
value | String | yes | EL used to fetch the runtime data. |
visible | String | yes | If set to true, the control will be displayed. If set to false, it is hidden. |