on_click_wrname

LANSA WAM

on_click_wrname

Specifies the name of the webroutine that is executed when the hyperlink that represents this weblet is clicked. (The name of the WAM containing the webroutine is specified in the on_click_wamname property.)

This property is ignored if the url property is specified.

Default value

No default value applies – either the url property or the on_click_wrname property must be specified

Valid values

The name of a Webroutine in single quotes. The Webroutine must exist in the WAM specified in the on_click_wamname property. A list of known Webroutines can be displayed by clicking the corresponding dropdown button on the property sheet.

Example

This example specifies deptdetail as the name of the webroutine that will be executed when the hyperlink is clicked. The name of the WAM containing the webroutine is specified by the on_click_wamname property.