onlyonce JavaServer Page tag
JSP tag to indicate that text within the body of the
tag is to be included in the stream processing output only the first time that an onlyonce tag
of that name is found.
When to use
When entering HTML source code directly into the
tab of a
control rule (or similar form), you can minimize the size of the resulting HTML document
about control rules.
For example, this tag is named Alpha.
<!-- define scripts --> <pega:onlyonce name="Alpha" > The work item id is <pega:reference name=".pyID"> </pega:onlyonce >
During stream processing, if another onlyonce tag named Alpha appears, the body of the second (and later) tags are skipped over and not processed.
In the syntax presentations below:
- JSP delimiters <pega: and </pega: mark the start and end of the tag.
- Replace any text in italics with your choice of value of that type.
attribute is required.
Set the name attribute to an arbitrary non-blank text value. Case is
significant. During stream processing, second and later appearances of an