About the V5 URL control |
The URL control is deprecated. Use the Link pxLink control instead. See Adding a link control.
If a section contains a deprecated URL control or another control for which there is an improved alternative, a warning displays, along with an Update Controls button. Click Update Controls to automatically update deprecated controls in the section. Automatic update is not available for all controls; see Upgrading deprecated and outdated controls on the PDN.
A URL control in a layout provides the same capabilities as a button or icon, but uses the familiar blue underlined text as presentation. 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 preferred URL control is named Link and uses the auto-generated control pxLink. See Harness and Section forms — Adding a Link control. Use the Link control, not the V5 URL control, for new development.
Cell Properties panel — Top fields GRP-229
Click () 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.
Field |
Description |
Type |
Select a function for this URL, from the predefined values on the drop-down list. Typically, select |
Caption |
Enter brief text that is to appear as the underlined blue link. BUG-595 B-25215 (If this text is to be localized. enter no more than 64 characters. Click to review or create the field value rule supporting localization, with a middle key part of pyButtonLabel. Proj-212 |
Tooltip |
Optional. Enter a sentence or phrase identifying to users of the form the purpose and function of the URL. As a best practice, start the ToolTip text for an input field with a verb. If this text is to be localized. enter no more than 64 characters. Click to review or create the field value rule supporting localization, with a middle key part of pyActionPrompt. Proj-212 |
Cell Properties panel — General tab
Field |
Description |
Do Action
|
These fields appear only when the type is See Complete additional information for custom buttons below. corrected 4/24/08 |
Visible |
Select to determine when the URL appears. (If this setting is not applicable, the cell contents are blank.)
|
Visible When |
If you selected
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 |
Optional. This field appears only when you select the Disabled? checkbox. Enter an expression involving another property, or identify the When Name key part of a when condition rule. PROJ-283 Specify one of four outcomes, where true or blank means the URL is disabled.
|
Run on Client? |
This checkbox appears only if the Condition field contains a simple 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. |
Cell Properties panel — Advanced tab
Width |
As a best practice, use SmartLayouts to achieve uniform width of cells throughout your application's forms. You can set the width of SmartLayout templates using the Skin rule. See Skin form — Styles tab — Layouts — Smart Layouts. 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 |
As a best practice, use SmartLayouts to achieve uniform height of cells throughout your application's forms. You can set the width of SmartLayout templates using the Skin rule. See Skin form — Styles tab — Layouts — Smart Layouts. 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 |
Optional. Select the Privilege Name key part of a privilege rule that controls the availability of this URL at runtime. During rule resolution at runtime, the system uses the Applies To key part of the current rule as the first key part. At runtime, the URL is not available to users who do not hold this privilege. Click() to review or create the privilege rule. |
Read-Write Style |
Not used. |
Read-Only Style |
Optional. By default, when the user form or flow action form appears in read-only mode, the CSS style named Click() to review the text file rule that defines the style sheet. Your application can override the standard style sheet in the text file rule webwb.user_work_form.css. |
Use Header Styles |
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 alignPROJ 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. |
Custom type — Additional information
When you choose CUSTOM
as the Type value, the Advanced tab changes.
When clicked, the custom URL executes an activity, using parameter values determined in this panel or parameter values determined by a user input at runtime.
Field |
Description |
||||||
Do Action |
Select an activity to execute when the URL is clicked. To find the activity at runtime, the system uses the Applies To key part of this rule as the initial Applies To key part of the activity. (For demonstration purposes, the default activity @baseclass.TemplateButtonActivity simply displays harness named @baseclass.TemplateButtonDisplay.) |
||||||
Parameters |
If the activity selected accepts input parameters, the sources of parameter values can be set up now, or entered by a user at runtime. To define parameters here, click the magnifying glass button. Enter a constant value, property reference or expression for each parameter.
|
||||||
Target |
Select one: GROVS 5/19/05
|
||||||
No Data Submission |
If you selected |
||||||
Target Name |
If you selected |
||||||
Window Width |
If you selected |
||||||
Window Height |
If you selected |