![]() To add an explicit target frame, see below. If omitted, the system uses the STANDARD frame, The pzFromFrame property provides the default value for the pyTargetFrame parameter, the target frame used by the stream. (The second parameter of the Show-HTML method determines the target frame for the HTML.) Use this option if the target frame for the anchor is not the STANDARD frame, but is the current default frame. Target frame (FRAME Keyword)Īdd the FRAME keyword to include the pzFromFrame property in the URL. The TRANSID keyword implies the FRAME keyword. Use this syntax to specify the TRANSID option: In situations where the server state data is not relevant, you can omit the TRANSID keyword. In some situations, it is important that the browser state and the server state correspond accurately. ![]() When the browser state changes as the result of a user submitting an HTML stream, the pzTransactionID parameter stores the server state as it corresponds to the current browser stream, tracking where the user has been, and where the user is. The TRANSID keyword causes the pzTransactionID parameter value to be included in the URL. Ideally, such synchronization works even when a user clicks the Back icon in the browser window. Used with a form and a SUBMIT button, the TRANSID option of the URL directive can be useful to maintain synchronization between the servers state and the user's browser state. Include the PRIMARY keyword unless the HTML rule is in the ultimate base class (an unusual situation). Each option is explained in detail below. This table lists each option and its corresponding property. ![]() If you have more than one action specification, enter it in the button tag or the anchor tag, rather than in the form tag.Įnter the action-specification in the anchor or submit button. When using the URL directive in a FORM tag, you can enter the action specification in either the form tag, the button tag, or the anchor tag. The action-specification is either pyStream= myStream or pyActivity= myActivit圜lass. Use quote marks as shown in the examples below. Square bracket characters define optional parts of the directive.Here is an example of the URL directive used with an anchor. The pega:url JavaServer Page tag provides a functionally identical capability. If you use the URL directive with a submit button, work with the FORM tag as well. Whenever you insert an anchor or a submit button into your HTML, you can use the URL directive. The URL directive has options related to navigation, target frames, and the primary page. 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 the Pega Platform displays. The URL directive provides a means to include a URL into the output HTML produced by stream processing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |