Back Forward About Text File rules

Technical Category
New Main History More...

Purpose

Use a text file rule to hold and identify static HTML, XML, Cascading Style Sheet, DHTML, and JavaScript script files used in an application. This rule provides the security, inheritance versioning, and deployment benefits of rule resolution to the file. (A static file in this context is one that does not change each time it is served. The contents of static files may differ from RuleSet version to RuleSet version, and may be updated after a Rule-File- rule is updated.)

A text file rule containing HTML must define an entire static page with pure HTML, containing no reference to Process Commander JSP tags or directives. In contrast, an HTML Fragment rule can contain JSP tags or directives.

Where referenced

Any rule type that contains XML or HTML code can reference a text file rules, using the pega:include JSP tag.

In addition, text file rules for styles (CSS) or JavaScripts (JS) can be referenced in a static content bundle rule (Rule-File-Bundle) to reduce the number of HTTP interactions between a browser session and the Process Commander server. PROJ-322Such text file rules can also be included in a static content bundle with the static JSP tag.

The first time a requestor asks for this text file, Process Commander extracts the text file from the rule into an appropriate Web server directory on the server.

Access

Use the Rules Explorer to list all text file rules available to you.

Category

Text file rules are instances of the Rule-File-Text class. They are part of the Technical category.

Standard rules Atlas — Standard Text File rules

Technical category
Help System home pageHelp Home