Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

JavaServer Pages tags

Updated on August 16, 2022

JavaServer Pages tags can appear in all rule types derived from the Rule-Stream class.

Correspondence FragmentList View (deprecated)
Flow actionParagraph
HTMLSummary View (deprecated)
HTML FragmentXML

The following tags govern how the stream processing facility converts and assembles a text stream for a user's browser, for outgoing correspondence, or for outgoing XML text.

acDataSourceDefines the source of text values for an autoComplete JSP tag.
assertUse to make processing more efficient when working with one or more concrete classes and the Obj-List method.
autoCompleteSupports a user interface drop-down facility that matches candidates from the first few characters a user types.
binaryfileUsed within the static JSP tag to identify a binary file rule.
bundleUsed within the static JSP tag to identify a static content bundle rule.
chooseUse with the when tag to select one section of source code to process. The otherwise JSP tag may appear within the choose tag.
chartDisplay a chart derived from a summary view rule.
contentURLInclude a non-rule-resolved image in a stream.
dsFieldSupports the acDataSource tag.
dsFieldsSupports the acDataSource tag.
fileUsed within the static JSP tag to identify a text file rule.
forEachIterate through the properties contained in a Page or Page List structure.
includeInsert another stream rule into the current stream.
listViewSupport run-time display of list view reports within sections. The param JSP tag may appear within the listView tag.
lookupRetrieve and include the value of a property from an instance that is not present on the clipboard.
onlyonceCause a named section of text to be evaluated during stream processing only the first time it appears.
rInclude the value of a property on the clipboard. Short form of the reference tag.
reference p:rInclude the value of a property on the clipboard.
saveSave a value with an associated name for reuse later in the current stream.
static Include the contents of one or more static file bundle rule ( Rule-File-Bundle rule type) or text file rules ( Rule-File-Text rule type) in the stream.
urlEncode a URL string on an HTML form with the Pega Platform keywords.
whenTest a Boolean condition or when rule, and include or exclude source text based on the results.
withEmbeddedChange the current embedded page.
withPageChange the current base page.
withReferenceMake a new property the currently active property.
withTargetOverride the control rule that applies to a property.

Additional tags can appear within the scope of one of these tags. These additional tags are documented with the enclosing tag. For example:

  • elseassert tag, within the assert tag
  • key, within the lookup tag
  • option, within the url tag
  • otherwise, within the choose tag
  • param, within the listview tag

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us