A fragment is an instance of the Rule-HTML-Fragment rule type or the Rule-Corr-Fragment rule type. A fragment contains text or HTML markup that is expected to have broad reuse. You can reference a fragment in the include JSP tag to cause the system to incorporate the fragment rule into multiple other HTML or correspondence rules as they are processed.
Fragments are useful to hold frequently needed HTML text, JavaScript, or style (CSS) text. Use the include JSP tag to instruct the system to copy at runtime the fragment text into the final HTML text during HTML generation.
An HTML fragment can be included in another HTML fragment, an HTML rule, or a control rule. A correspondence fragment can be included in another correspondence fragment or in a correspondence rule.
stream processing | |
Include JSP
tag
About HTML Fragment rules About Correspondence Fragment rules |