Like submit buttons, anchor links when clicked can cause the system to start a new activity or stream. However, anchors do not transmit data to the clipboard.
VANDJ 1/21/03 Use the pega:url JSP tag (or the URL directive) to specify what processing Process Commander starts when a user clicks an HTML anchor. You can use options of the URL tag to include automatically certain context information.
This example creates an anchor that starts an activity named myActivity in the Data-Test- class. The anchor always causes the system to execute the activity, even if a user clicks it on a form reached by using the browser's Back button. The URL that appears on the browser's address line does not include extra parameters.
<A HREF="{URL
"pyActivity=Data-Test-.myActivity"}">
<P>My anchor text</P></A>
This example creates an anchor that, when clicked at runtime, opens a second window to display a help topic. Using rule resolution, Process Commander looks through the appropriate classes to find the instance of Rule-Obj-HTML named myHelpTopic.
<A HREF="{URL pyStream=myHelpTopic
long}" TARGET="new">
Help (opens a new window)</A>
URL JSP tag
URL directive |