Directives are PRPC extensions to HTML. Directives can appear in HTML rules for display and input, in HTML for correspondence, and in XML for SOAP processing.
As a best practice for improved performance and debugging, use JSP tags rather than directives in new development, except for list view rules. As of V6.1, use of directives in new development is deprecated.
Accept the default value JSP
in the Generate for field of the HTML tab of harness, section, flow action, control, and correspondence rules. Automatic conversion of directives to equivalent JSP tags is fast and reliable. . See Introducing JavaServer Page tags and Converting from directives to JavaServer .
The default delimiters for directives are curly bracket characters { and }.
Use these four directives to work with properties.
To work with sections or other HTML rules that provide parts of a form, use the Include directive.
Use these directives when working with scripts or HTML styles. Styles and scripts can include curly brace characters and so can cause confusion with the curly brace characters for directives:
When working with anchors, form tags, and submit buttons, consider using the URL directive.
To conditionalize HTML, use the When directive.
To work with specific concrete classes, use the Assert directive.
To display reports and perform other iterative tasks, use the Foreach directive.
To extend the system-generated Java for an HTML rule, use the Java directive.
Use the Comment directive to troubleshoot source HTML or XML.