Harness and Section forms - Adding formatted text |
Cells and headers in a layout can present formatted text. You can style formatted text in the skin rule. See Skin form — Components — Controls — Text inputs and Formatted text.
To speed development, you can drag and drop a Single Value
property from the Application Explorer into the right cell of a pair of adjacent cells. The system drops a label control into the left cell (if it is empty).
Field |
Description |
Property |
Press the down arrow to select a property. If the set of possible values is provided by a property using the Table Type field , specify a For Click() to review the property (if the reference is to an existing property in the Applies To class of this rule or a parent of that class). If the property is not found, the New dialog box for the property form appears. You can reference properties on any page identified on the Pages & Classes tab, using the normal notation pagename.propertyname for pages other than the page corresponding to the Applies To class of the rule. If this field is in a cell of a section that includes parameter declarations on the Parameters tab, you can enter the notation param.NAME here, to use a parameter value for the field, where NAME identifies a string parameter. Make sure that the NAME parameter is declared on the Parameters tab, and that your application provides a non-blank value for the parameter value in all possible situations where the section appears. See Sections — Completing the Parameter tab. |
Default value |
Optional. Enter a constant value for the property value, a property reference, or an expression, to be used only when the user form or flow action form appears in read-write mode rather than read-only mode. Choose a default value that speeds data entry. When the system renders a harness or section in read-only mode (for example because the read-write mode requires a privilege that the current user does not hold), the default value does not appear, because data entry is not permitted. |
Value |
Select to display one of the following:
|
Visibility |
To control the visibility of the label, select one of the following:
If this section is to become part of navigation in a composite portal, you can make the header visible only when a specific space is the current space. Enter an expression here similar to the following: pyCurrentSpace=="ASpaceName" Then select the Run visibility condition on client checkbox. |
Wrap Text | Select if the label is to be presented as multiple lines when the text is longer than the cell width. If this checkbox box is not selected, the label may appear truncated at runtime. |
Field |
Description |
||||||||||||||
Style |
Specifies the skin format for this control. You can style fomatted text in the skin. |
||||||||||||||
Advanced Options |
Appears only when you select the Display advanced presentation options checkbox. The best practice is to define custom styles in the skin. .
|
||||||||||||||
Format | |||||||||||||||
Type |
Select a format (read-only) used with this property. Your selection filters the format options.
Do not confuse format types with property types. |