About HTML Fragment rules |
New | HTML | Pages & Classes | History | More... |
Use HTML fragment rules to define universally available HTML parts, such as style sheets and scripts, including JavaScript files. During stream processing, a JSP tag can insert this text into other HTML rule instances.
In contrast to text file rules, HTML fragment rules can contain JSP tags and so can produce dynamic content that depends on property values.
You can reference HTML fragment rules in several other rule types that contain editable HTML or XML text. Use the <pega:include > JSP tag in another rule to cause the system to incorporate the fragment rule HTML text at runtime.
Use the Rules by Type Explorer to list all HTML fragment rules available to you.
HTML fragment rules are instances of the Rule-HTML-Fragment rule type. They are part of the Technical category.