More about Section rules |
Process Commander resolves a reference in a harness rule to a section rule during stream processing, by evaluating the include JSP tags or include directives.
For both section rules and harness rules, the system generates HTML from information provided in the rule form as it saves the rule form. Note these important differences:
When you save a Rule-HTML-Section rule, the system converts your HTML and JSP tags or directives to Java source code. As a learning or debugging aid, you can review this Java code.
Click the Show Java toolbar button () to see the system-generated Java code that implements the section rule. The window presents a read-only preview of the Java that implements this rule instance. This Java code is not identical to the Java that executes at runtime, which includes Java code inlined from other rule instances and reflects rules in the requestor's RuleSet list.
Section rules support the Smart Info capability of pop-up windows. When the user holds the mouse pointer over a display element for 700 milliseconds, a pop-up window appears that can supply static or variable information in context. Most Smart Info pop-up windows are read-only and disappear as soon as a user clicks anywhere outside the window.
By default,
Smart Info pop-up windows disappear when a user clicks anywhere
outside the window. To add a close box to the Smart Info pop-up
window and have the pop-up window remain until explicitly
closed, include the standard section
@baseclass.SmartInfoClickable within the section.
(This standard section adds a close box but does not otherwise
alter the appearance of the section.)
You can't use the report
paging feature in a list view display within Smart Info pop-up
section that has a close box.
Through directed inheritance, the immediate parent class of the Rule-HTML-Section class is the Rule-Obj-HTML class.
After you save this rule form, click the Preview toolbar
button () or type the equivalent
keyboard shortcut
CTRL
+ALT
+P
to see a more
faithful split-screen presentation of the runtime appearance of
the section. (Many sections depend on context. Even when the
section is correctly configured, the Preview display may fail
and report JSP errors if this section rule depends on clipboard
contents that do not exist or other rules that cannot be
found.)
Click the Run toolbar button () to test the section with data from the clipboard. See How to test a section rule.
As with the Layout tab, the system renders both the Preview and Run displays using the styles of the skin rule identified in the Skins field of the Run Process In group of your General preferences. If the Skins field is blank, these displays use the styles marked Work on the Styles tab of the skin identified in your current portal rule. See Developer Portal — Setting preferences.
fragment, harness, Smart Info, stream processing | |
About Harness
rules
JavaServer Pages tags Understanding CSS styles Example: Embedded list view display in a flow action |
|
Atlas — Standard section rules |