Oracle Fusion Middleware Tag Reference for Oracle Team Productivity Center
11g Release 1 (11.1.1.7.0)
E14265-06
Go back

Summary

Tag name: <formLayout>

The formLayout tag is used to render a formLayout style UI block.

Code Example(s)

      <formLayout id="wiForm1Id" columns="2" rowToSpan="1" labelWidth="80">
        <inputText label="#{workitemmodel.labels.SUBJECT}"
                   value="#{workitemmodel.values.SUBJECT}"
                   hint="#{workitemmodel.hint.SUBJECT}"
                   required="#{workitemmodel.required.SUBJECT}"
                   maxLength="#{workitemmodel.maxLength.SUBJECT}"/>
        <inputText label="#{workitemmodel.labels.RPTNO}"
                   value="#{workitemmodel.values.RPTNO}"
                   hint="#{workitemmodel.hint.RPTNO}"
                   readOnly="true"/>
        <inputText label="#{workitemmodel.labels.BASE_RPTNO}"
                   value="#{workitemmodel.values.BASE_RPTNO}"
                   hint="#{workitemmodel.hint.BASE_RPTNO}"/>
      </formLayout>

Attributes

Name Type Default value Required? Supports EL? Description
idStringYIt is the identifier for the component defined. The id is unique inside its grouping parent scope.
tagNameStringYThe tag name.
disabledbooleanfalseYIndicates whether the tag will be rendered as disabled or not. Valid values are true or false. The control will show as grayed out without reacting to any user input or action if the value is set to true.
shortDescStringYThe content will show as a tooltip information when mouseover its UI when the value is set.
visiblebooleantrueYIndicates if the UI block of the tag will be rendered as visible or not. Valid values are true or false. The component will not be rendered but the corresponding component will still be created and kept in the runtime component tree if the value is set to false.
mouseListenerjava.awt.event.MouseListenerEL onlyA MouseListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
keyListenerjava.awt.event.KeyListenerEL onlyA KeyListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
focusListenerjava.awt.event.FocusListenerEL onlyA FocusListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
PropertyChangeListenerjava.beans.PropertyChangeListenerEL OnlyA PropertyChangeListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
helpTopicIdStringYHelp topic ID that associate the help content with the current tag. For example -- when the connector integrates its help with Oracle Help center: This id will be used to identify the help HTML page inside connector help jar file and show the page in Oracle Help Center when the UI component has focus and F1 key is pressed.
contextMenuModeloracle.alm.view.model.AlmContextMenuModelEL OnlyAn Oracle AlmContextMenuModel class that registers a customized context menu for the current tag.
valueoracle.alm.view.model.AlmWorkItemModelEL OnlyIt is used when the formLayout is completely rendered through a specific work item model.
rowsint-1YIndicates how many rows to display. The actual rows and columns in the formLayout will be caculated by the number of child controls in the form layout.
columnsint-1YThe columns attribute. It is used to indicate how many columns the formLayout will have. The actual rows/columns in the formLayout will be caculated by the number of children in the formLayout. Columns will meet first.
blockSizeintInteger.MAX_VALUEYThe blockSize attribute. It is used to indicate how many rows the formLayout will have in one block. There will be a separator drawn between two blocks.
rowToSpanSetYThe rowToSpan attribute. It is used to indicate which row in the formLayout will span across all columns.
valLengthJustifiedbooleantrueYThe valLengthJustified attribute. It is used to indicate which rows in the formLayout will aligned identically or not. Valid values are true/false. All rows are aligned automatically with same preferred length if it is true.
fieldWidthint90YThe fieldWidth attribute. It is used to indicate the length of the field columns in the formLayout. The field will be rendered automatically based on the prefered length if no value set.
labelWidthint-1YThe labelWidth attribute. It is used to indicate the length of the label columns in the formLayout. The field will be rendered automatically based on the prefered length if no value set.