<inputText>

inputText


This inputText tag is used to show an edit box.

Relationship with other tags

The inputText tag is child tag of formLayout or panelLayout.

The inputText tag does not have any child tag.

Example

The following example shows the XML for a inputText tag.

   <formLayout columns="1";   blockSize="5" fieldWidth="400" >
      <inputText label="#{workitemmodel.labels.TASKID}" value="#{workitemmodel.values.TASKID}" readOnly="true" >
   </formLayout > 

Attributes

Name Type Supports EL? Description
disabled String no If set to true, the control is in ready only mode.
hint String yes Text shown in water mark that provides help to end user on data value, type, or format used.
id String no UI component identifier. There could be multiple inputText controls and this id attribute is used to uniquely identify the control.
label String yes Label to show in the UI. Normally EL is used to get it in runtime from the corresponding field label. Correct localized string will be used based on the JDeveloper locale.
maximumLength String no Maximum length of the control in pixels.
pprTargets String no UI component ID that needs to be refreshed after the value of this inputText 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. Valid values are true and false. 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.