|
![]() |
A header or layout cell can contain a Link control (formerly called a URL control), which invokes an action when the user clicks or hovers the mouse pointer over the text link. This and the Icon and Button controls share the same capabilities — the differences are mainly in their presentation. V6.2 GRP-16579 pashm
You can customize the link's appearance using the Branding wizard. See Branding wizard — Controls.
You can precede and follow a URL cell with static text in Label cells, achieving a presentation similar to an embedded link in a Web page:
You can recompute the interest due on this loan.
As of V6.2, the Link control uses the auto-generated control rule pxLink. Its behavior is governed by the settings in the rule form's Control tab. The Parameters tab is not available and the HTML cannot be edited. As a best practice, modify the control using its Parameters dialog within the context of the section; do not edit the rule itself.
This control replaces the V5.1x URL control (supported in V6.X). It is recommended that you use pxLink in new development rather than the V5.1x URL control (which is supported). See About the URL control V5.1x.
Follow these instructions to add a Link control.
1. Drag and
drop the Link control
Click the down arrow () in
the Basic control group (
) and select the Link
control (
) Drag the
control to the desired cell. When the pointer changes shape to
indicate that a single cell is selected, release the mouse button to
drop the control. xxxicon to change for v6.2xxx. 2/26/11 pashm
If the cell is not empty, the dropped control replaces the current
contents of the cell. Click the magnifying glass icon () to display the
Cell Properties panel.
Complete the Cell Properties panel that appears. If the panel is
pinned (), the
wireframe presentation on the rule form changes immediately to reflect
of your inputs. If the panel is not pinned (
),
click Apply to apply your inputs.
2. Complete the
Cell Properties panel — Top fieldsGRP-229
Field |
Description |
![]() |
(Appears only when this field is in a section included within the current open rule.) Click to open the section that immediately contains the field. |
Control |
Customizing the controlThe Link's default parameters represent the basic configuration. However, you will need to specify the text in the link and the action or actions that will execute when the user clicks or hovers the mouse pointer over the text. For example, you can configure the control to refresh a section or display a new harness. In addition, you may want to:
|
3. Complete the
Cell Properties panel — General tab
Complete the General tab.
Field |
Description |
Visible |
Select to determine when the link appears. (If this setting
is not applicable, the cell contents are blank.)
|
Visible When |
A URL that is not visible is also disabled and cannot be clicked. |
Wrap Text? |
Select to cause the text to wrap within the cell. B-17946 |
Disabled? | Select to cause the URL to be disabled or enabled based on a test, even when the form is in read-write mode. Complete the next field to modify the effect of this checkbox. PROJ-283 MARTT 2/26/07 |
Disabled Condition |
|
Run on Client? |
Appears if the
Condition field contains a simple Java
comparison.
Select to cause dynamic execution of the condition each time the value of the property mentioned in the condition changes. (Mark the field containing that property as a Client Event.) Leave cleared to cause the condition to execute only once, upon initial presentation of the form. |
4. Complete the
Cell Properties panel — Advanced tab
Complete the Advanced tab.
Width |
Optional. This field appears only when the cell is not controlled by SmartLayout column restrictions. Enter a positive number for the width in pixels of this cell. (At runtime, normal browser processing for rendering tables determines the actual displayed width.) You can also adjust the width this column directly:
|
Height |
Optional. This field appears only when all columns in the
Layout are not controlled by SmartLayout column
restrictions (that is, all columns have the
|
Privilege |
At runtime, the link is not available to users who do not hold this privilege. Click the pencil icon ( |
Read-Write Style |
|
Read-Only Style |
Click the pencil icon ( |
Use Heading Style |
Select to change the style of this value to a table header style (by changing the element from <TD> to <TH>). |
Inline Style |
To apply inline styling to this cell only, type a CSS
style definition in this field, or click the magnifying glass
to access a Style Editor window. Styles you enter in this
field supplement and override style elements defined in style
sheets, according to normal CSS rules.
Inline styles are recorded in the generated HTML for the form; they do not alter the CSS definitions. Using the Style EditorYou can select the font, color, font size, text align, vertical align PROJ 242 – TASK 16156, borders, margins, and other attributes of this cell using selection lists. The Style Editor maintains a preview of the resulting presentation. If you alter the style definition directly, click Apply to update the preview. Click OK to record the style defined with the Style Editor in the panel. |