Skip to main content

JavaServer Pages tags

Suggest edit
Updated on March 16, 2022

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

CorrespondenceControl
Correspondence FragmentList View (deprecated)
Flow actionParagraph
HarnessSection
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.

TagUse
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.
dataGridReserved.
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
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us