Type: WebCFG
Parent: none
Root tag of any webcfg.xml file.
| Attribute | Description | Usage |
|---|---|---|
| default-wcapp |
Use the the specified wcapp ID as the default application.
Look at WCapp about how to
define your wcapp. |
optional |
| default-style |
Sets the style to use to customize WebCFG for
all defined configs. Look at
WCapp about how to
customize only one configuration. Styles are located in ${config.dir}/styles.
New styles can be created by creating a new
subdirectory and place a file called webcfg.css
in it. The name of the directory is the style name.A good starting point is simply to copy the style default and apply your changes. If this attribute is not set, the default style will be used. This attribute works not with the free version ! You have to buy a commercial license. |
optional |
| Element | Description | Cardinality |
|---|---|---|
| authentications |
Declares a set of possible authentications that can
be used in <config> definitions.
|
0..1 |
| varset | Declares a set of variables for global use. | 0..1 |
| wcapp |
Declares the configurations that are to be
displayed in the web frontend. (Only one config element is allowed in an unregistered version) |
1..* |
<?xml version="1.0" encoding="UTF-8"?>
<webcfg xsi:noNamespaceSchemaLocation="webcfg.xsd"
xmlns="http://www.webcfg.com/webcfg"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
[wcapp-elements goes here...]
</webcfg>
This is the framework for the webcfg.xml configuration file. This can be copied into a new file as a good starting point.
It is also possible to have a look at an extensive and complete example configuration that uses most of the elements and attributes that exist.
top