Every ProjectConsole Template Builder template contains one or more of these ProjectConsole Template Builder commands: OPEN, REPEAT, DISPLAY, and LIMIT. Here is a brief description of each command:
§ The OPEN Command identifies a particular object in a source domain. It normally provides the highest abstraction of a domain object from which other ProjectConsole Template Builder commands can be defined. For example, you might OPEN a directory or a Rose model.
You must complete an OPEN command to test your template. However, when you save a template after testing you generally leave the argument values in the OPEN command blank. The user who is responsible for Web site administration in ProjectConsole provides these values in the form of an Artifact ID. The Artifact ID that the ProjectConsole administrative user enters is the equivalent of the arguments in an OPEN command in the template.
§ The REPEAT Command identifies sections within a Web page that are repeated for each object found based on some relationship. This command is useful when there is a set of objects in the source domain that needs to be uniformly documented. The template defines the format and generic content of the section. ProjectConsole Template Builder builds a section for each object found in the source.
§ The DISPLAY Command inserts attributes of a source object into a Web page. You can display both text and graphics. Any of the following can be displayed: the name of a Rose class category, the cardinality of a "has" relationship, a use case diagram, a Requisite Pro requirement name, the name of a directory, or the contents of a text file.
§ The LIMIT Command determines whether an object exists with certain characteristics. A LIMIT command defines an expression that evaluates to True or False. If the object fails the test defined by the expression, the corresponding section is not included in the Web page.