|
![]() |
A URL 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.
Follow these instructions to add a URL to a cell.
1. Drag and drop the URL
control
Click the down arrow () in the Basic
control group (
) and select
the URL 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.
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 fields
Field |
Description |
Type |
Select a function for this URL, from the predefined values on the drop-down list. Typically, select |
Caption |
|
Tooltip |
If this text is to be localized. enter no more than
64 characters. Click the pencil icon |
3. Complete the Cell Properties panel
— General tab
Complete the General tab.
Field |
Description |
Do Action
|
These fields appear only when the type is See Complete additional information for custom buttons below. |
Visible |
Select to determine when the URL 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. |
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 check box. |
Disabled Condition |
|
Run on Client? |
This check box appears only 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. |
3. Complete the Cell Properties panel
— Advanced tab
Complete the Advanced tab.
Width |
Optional. This field appears only when the cell is not controlled by Smart Layout 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 Smart Layout column restrictions (that is, all columns have the
|
Privilege |
At runtime, the URL 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 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, 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. |
5. For a Custom type, complete
additional information
When you choose
CUSTOM
as the Type value, the
Advanced tab changes. Access and complete additional
fields.
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 |
|
||||||
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:
|
||||||
No Data Submission |
If you selected |
||||||
Target Name |
If you selected |
||||||
Window Width |
If you selected |
||||||
Window Height |
If you selected |