Back ForwardURL directive

About directives

  

Advanced featureThe URL directive provides a means to include a URL into the output HTML produced by stream processing.

You can use the URL directive to avoid synchronization problems that can arise if a user clicks a browser's Explorer's Back button rather than using navigation provided in PRPC displays.

The URL directive has options related to navigation, target frames, and the primary page.

Whenever you insert an anchor or a submit button into your HTML, you can use the URL directive. If you use the URL directive with a submit button, work with the FORM tag as well.

JSP tag Equivalent

The pega:url JavaServer Page tag provides a functionally identical capability. See JSP Tags — URL.

Example

Here is an example of the URL directive used with an anchor.

<A HREF="{URL pyStream=myStream  PRIMARY }" >
    <B>Click here to ... </B>
</A>

  Complete syntax

  Appending parameters and property-value pairs explicitly

  Submit buttons

  Advanced uses

Up Directives