Table of Contents
|
Target Namespace
|
None |
| Element and Attribute Namespaces |
- Global element and attribute declarations belong to this schema's target namespace.
- By default, local element declarations belong to this schema's target namespace.
- By default, local attribute declarations have no namespace.
|
Declared Namespaces
| Prefix |
Namespace |
|
xml
|
http://www.w3.org/XML/1998/namespace |
|
xs
|
http://www.w3.org/2001/XMLSchema |
Schema Component Representation
<
xs:schema
elementFormDefault="
qualified">
...
</
xs:schema>
| Name |
BugEmail |
| Used by (from the same schema document) |
Element
BugTracerReports
|
| Type |
Locally-defined simple type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
The email address to send reports. |
XML Instance Representation
<BugEmail>
xs:string (length >= 1) </BugEmail>
Schema Component Representation
<
xs:element
name="
BugEmail">
<
xs:simpleType>
<
xs:restriction
base="
xs:string
">
<xs:minLength
value="1"/>
</
xs:restriction>
</
xs:simpleType>
</
xs:element>
| Name |
BugTracerReports |
| Used by (from the same schema document) |
Element
Config
|
| Type |
Locally-defined complex type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
This sections is used to declare email addresses for Bug Reports |
XML Instance Representation
<BugTracerReports>
</BugTracerReports>
Schema Component Representation
<
xs:element
name="
BugTracerReports">
<
xs:complexType>
<
xs:sequence>
<
xs:element
ref="
BugEmail
"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
| Name |
Cache |
| Used by (from the same schema document) |
Element
Config
|
| Type |
Locally-defined complex type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
These are the application caching settings. It overrides the framework-wide settings. |
XML Instance Representation
<Cache>
Start All
[1]
<ObjectDefaultTimeout>
xs:integer </ObjectDefaultTimeout>
[1]
'The default object timeout in minutes'
<ObjectDefaultLastAccessTimeout>
xs:integer </ObjectDefaultLastAccessTimeout>
[1]
'The default object last access timeout in minutes'
<ReapFrequency>
xs:integer </ReapFrequency>
[1]
'The frequency in which the cache is reaped.'
<MaxObjects>
xs:integer </MaxObjects>
[1]
'The maximum number of objects to cache.'
<FreeMemoryPercentageThreshold>
xs:integer </FreeMemoryPercentageThreshold>
[1]
'The amount of free memory threshold needed to cache. If memory goes below this threshold, objects will no longer be cached.'
<UseLastAccessTimeouts>
xs:boolean </UseLastAccessTimeouts>
[0..1]
'Whether to reap using last access timeouts alongside default object timeouts'
<EvictionPolicy>
xs:string (value comes from list: {'LFU'|'LRU'}) </EvictionPolicy>
[0..1]
'The default eviction policy'
End All
</Cache>
Schema Component Representation
<
xs:element
name="
Cache">
<
xs:complexType>
<
xs:all>
<
xs:element
name="
ObjectDefaultTimeout"
type="
xs:integer
"
maxOccurs="
1"
minOccurs="
1"/>
<
xs:element
name="
ObjectDefaultLastAccessTimeout"
type="
xs:integer
"
maxOccurs="
1"
minOccurs="
1"/>
<
xs:element
name="
ReapFrequency"
type="
xs:integer
"
maxOccurs="
1"
minOccurs="
1"/>
<
xs:element
name="
MaxObjects"
type="
xs:integer
"
maxOccurs="
1"
minOccurs="
1"
default="
0"/>
<
xs:element
name="
FreeMemoryPercentageThreshold"
type="
xs:integer
"
maxOccurs="
1"
minOccurs="
1"
default="
0"/>
<
xs:element
name="
UseLastAccessTimeouts"
type="
xs:boolean
"
maxOccurs="
1"
minOccurs="
0"
default="
true"/>
<
xs:element
name="
EvictionPolicy"
maxOccurs="
1"
minOccurs="
0"
default="
LFU">
<
xs:simpleType>
<
xs:restriction
base="
xs:string
">
<xs:enumeration
value="LFU"/>
<xs:enumeration
value="LRU"/>
</
xs:restriction>
</
xs:simpleType>
</
xs:element>
</
xs:all>
</
xs:complexType>
</
xs:element>
| Name |
Config |
| Type |
Locally-defined complex type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
This is the holder for the frameworks configurations. |
XML Instance Representation
<Config>
Start All
[1]
End All
</Config>
Schema Component Representation
<
xs:element
name="
Config">
<
xs:complexType>
<
xs:all>
<
xs:element
ref="
Settings
"
maxOccurs="
1"
minOccurs="
1"/>
<
xs:element
ref="
YourSettings
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
ref="
WebServices
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
ref="
Layouts
"
maxOccurs="
1"
minOccurs="
1"/>
<
xs:element
ref="
i18N
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
ref="
Datasources
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
ref="
Cache
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
ref="
Interceptors
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
ref="
Conventions
"
maxOccurs="
1"
minOccurs="
0"/>
</
xs:all>
</
xs:complexType>
</
xs:element>
| Name |
Conventions |
| Used by (from the same schema document) |
Element
Config
|
| Type |
Locally-defined complex type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
These are the custom conventions you can place for your current application. |
XML Instance Representation
<Conventions>
Start All
[1]
<handlersLocation>
xs:string </handlersLocation>
[0..1]
'The default location of your handlers'
<pluginsLocation>
xs:string </pluginsLocation>
[0..1]
'The default location of your plugins'
<layoutsLocation>
xs:string </layoutsLocation>
[0..1]
'The default location of your layouts.'
<viewsLocation>
xs:string </viewsLocation>
[0..1]
'The default location of your views.'
<eventAction>
xs:string </eventAction>
[0..1]
'The default event action if not specified.'
End All
</Conventions>
Schema Component Representation
<
xs:element
name="
Conventions">
<
xs:complexType>
<
xs:all>
<
xs:element
name="
handlersLocation"
type="
xs:string
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
name="
pluginsLocation"
type="
xs:string
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
name="
layoutsLocation"
type="
xs:string
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
name="
viewsLocation"
type="
xs:string
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
name="
eventAction"
type="
xs:string
"
maxOccurs="
1"
minOccurs="
0"/>
</
xs:all>
</
xs:complexType>
</
xs:element>
| Name |
Datasource |
| Used by (from the same schema document) |
Element
Datasources
|
| Type |
Locally-defined complex type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
A datasource declaration. |
XML Instance Representation
<Datasource
alias="
xs:string
[1]
'The alias of the registered datasource, for use in your application.'
"
name="
xs:string
[1]
'The name of the registered datasource.'
"
username="
xs:string
[0..1]
'The username of the datasource.'
"
password="
xs:string
[0..1]
'The password of the datasource.'
"
dbtype="
xs:string
[0..1]
'The type of database this datasource connects to.'
"/>
Schema Component Representation
<
xs:element
name="
Datasource">
<
xs:complexType>
<
xs:attribute
name="
alias"
type="
xs:string
"
use="
required"/>
<
xs:attribute
name="
name"
type="
xs:string
"
use="
required"/>
<
xs:attribute
name="
username"
type="
xs:string
"
use="
optional"
default=""/>
<
xs:attribute
name="
password"
type="
xs:string
"
use="
optional"
default=""/>
<
xs:attribute
name="
dbtype"
type="
xs:string
"
use="
optional"
default=""/>
</
xs:complexType>
</
xs:element>
| Name |
Datasources |
| Used by (from the same schema document) |
Element
Config
|
| Type |
Locally-defined complex type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Useful declarations of all the datasources used by this application. |
XML Instance Representation
<Datasources>
</Datasources>
Schema Component Representation
<
xs:element
name="
Datasources">
<
xs:complexType>
<
xs:sequence>
<
xs:element
ref="
Datasource
"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
| Name |
DebuggerSettings |
| Used by (from the same schema document) |
Element
Config
|
| Type |
Locally-defined complex type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
These are the settings to configure the coldbox debugger |
XML Instance Representation
<DebuggerSettings>
Start All
[1]
<PersistentRequestProfiler>
xs:boolean </PersistentRequestProfiler>
[0..1]
'Whether to activate or not the request profile persisten storage'
<maxPersistentRequestProfilers>
xs:integer </maxPersistentRequestProfilers>
[0..1]
'The maximum number of request profilers to keep in the stack.'
<maxRCPanelQueryRows>
xs:integer </maxRCPanelQueryRows>
[0..1]
'The maximum number of records to dump on a query in the request collection panel.'
<TracerPanel
show="
xs:boolean
[0..1]
'Whether to show or not this panel'
"
expanded="
xs:boolean
[0..1]
'Whether this panel is expanded or not.'
"/>
[0..1]
'The tracer panel info'
<InfoPanel
show="
xs:boolean
[0..1]
'Whether to show or not this panel'
"
expanded="
xs:boolean
[0..1]
'Whether this panel is expanded or not.'
"/>
[0..1]
'The info panel info'
<CachePanel
show="
xs:boolean
[0..1]
'Whether to show or not this panel'
"
expanded="
xs:boolean
[0..1]
'Whether this panel is expanded or not.'
"/>
[0..1]
'The cache panel info'
<RCPanel
show="
xs:boolean
[0..1]
'Whether to show or not this panel'
"
expanded="
xs:boolean
[0..1]
'Whether this panel is expanded or not.'
"/>
[0..1]
'The request collection panel info'
End All
</DebuggerSettings>
Schema Component Representation
<
xs:element
name="
DebuggerSettings">
<
xs:complexType>
<
xs:all>
<
xs:element
name="
PersistentRequestProfiler"
type="
xs:boolean
"
maxOccurs="
1"
minOccurs="
0"
default="
false"/>
<
xs:element
name="
maxPersistentRequestProfilers"
type="
xs:integer
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
name="
maxRCPanelQueryRows"
type="
xs:integer
"
maxOccurs="
1"
minOccurs="
0"/>
<
xs:element
name="
TracerPanel"
maxOccurs="
1"
minOccurs="
0">
<
xs:complexType>
<
xs:attribute
name="
show"
type="
xs:boolean
"
use="
optional"
default="
true"/>
<
xs:attribute
name="
expanded"
type="
xs:boolean
"
use="
optional"
default="
true"/>
</
xs:complexType>
</
xs:element>
<
xs:element
name="
InfoPanel"
maxOccurs="
1"
minOccurs="
0">
<
xs:complexType>
<
xs:attribute
name="
show"
type="
xs:boolean
"
use="
optional"
default="
true"/>
<
xs:attribute
name="
expanded"
type="
xs:boolean
"
use="
optional"
default="
true"/>
</
xs:complexType>
</
xs:element>
<
xs:element
name="
CachePanel"
maxOccurs="
1"
minOccurs="
0">
<
xs:complexType>
<
xs:attribute
name="
show"
type="
xs:boolean
"
use="
optional"
default="
true"/>
<
xs:attribute
name="
expanded"
type="
xs:boolean
"
use="
optional"
default="
false"/>
</
xs:complexType>
</
xs:element>
<
xs:element
name="
RCPanel"
maxOccurs="
1"
minOccurs="
0">
<
xs:complexType>
<
xs:attribute
name="
show"
type="
xs:boolean
"
use="
optional"
default="
true"/>
<
xs:attribute
name="
expanded"
type="
xs:boolean
"
use="
optional"
default="
false"/>
</
xs:complexType>
</
xs:element>
</
xs:all>
</
xs:complexType>
</
xs:element>
| Name |
DefaultLayout |
| Used by (from the same schema document) |
Element
Layouts
|
| Type |
Locally-defined simple type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
The mandatory default layout to use. |
XML Instance Representation
<DefaultLayout>
xs:string (length >= 1) </DefaultLayout>
Schema Component Representation
<
xs:element
name="
DefaultLayout">
<
xs:simpleType>
<
xs:restriction
base="
xs:string
">
<xs:minLength
value="1"/>
</
xs:restriction>
</
xs:simpleType>
</
xs:element>
| Name |
DefaultView |
| Used by (from the same schema document) |
Element
Layouts
|
| Type |
Locally-defined simple type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
The optional default view to use if no view is set. |
XML Instance Representation
<DefaultView>
xs:string (length >= 1) </DefaultView>
Schema Component Representation
<
xs:element
name="
DefaultView">
<
xs:simpleType>
<
xs:restriction
base="
xs:string
">
<xs:minLength
value="1"/>
</
xs:restriction>
</
xs:simpleType>
</
xs:element>
| Name |
DevEnvironments |
| Used by (from the same schema document) |
Element
Config
|
| Type |
Locally-defined complex type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
You can define one or more development urls that the framework will decide wether its on development or production mode. |
XML Instance Representation
<DevEnvironments>
</DevEnvironments>
Schema Component Representation
<
xs:element
name="
DevEnvironments">
<
xs:complexType>
<
xs:sequence>
<
xs:element
ref="
url
"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
| Name |
Folder |
| Used by (from the same schema document) |
Element
Layout
|
| Type |
Locally-defined simple type |
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
The name of the folder that will use the parent layout. |
XML Instance Representation
<Folder>
xs:string (length >= 1) </Folder>