Applications
The Application concept was initially introduced In the chapter Sample Workflow. Application defines a set of resources that determine the appearance and behavior of KCM ComposerUI.
Application folder
An application is stored on the file system of the web server as subdirectory of the Applications folder. The sample application that is shipped with KCM ComposerUI is implemented as a newsample folder.
Each application folder may contain a number of files and subdirectories that define the appearance and the behavior of the application. For most of these files, KCM ComposerUI defines defaults. Whenever a file is available in the Application folder, it replaces the default.
At the root level of the application folder the configuration settings are stored in a file called config.xml. The contents of this file can be manipulated through the configuration page of the application. For more information, see Configuration. The root level may also contain web pages (aspx-pages for ASP.NET or jsp pages for J2EE). Each of these pages will be accessible through the following url:
http://[machine]:[port]/itp/app/[application]/[page]
where:
-
[machine] is the name of the web server
-
[port] the port through which it is accessible
-
[application] is the name of the application
-
[page] is the name of the page
The pages produced by KCM ComposerUI refer to a cascading stylesheet in:
http://[machine]:[port]/itp/app/[application]/css/styles.css
This means that a styles.css file may be stored in the css subdirectory to determine the appearance of the pages.
The resources subdirectory may contain files related to localization of texts.
The xslt subfolder may contain overrides of the xslt files that determine the structure of the html produced by KCM ComposerUI.
Defaults
The default value is used If a resource is not available in the application folder. These defaults are installed as part of KCM ComposerUI. When overriding a default resource, the default resource itself can be a useful basis to start from.
The location of default resources differs between the ASP.NET and the JBoss implementation of KCM ComposerUI:
-
ASP.NET
The default resources can be found in the physical path of the virtual directory of KCM ComposerUI (referred to by the installer as "virtual directory physical path"). The default is C:\inetpub\wwwroot\itp.
-
J2EE
The default resources can be found in the itp.war file that is contained in the itp.ear file of KCM ComposerUI.