| 1 | = ApplicationDefinition = |
| 2 | |
| 3 | The Fusion ApplicationDefinition is an XML document that controls what ends up in your application. The document should start with an xml block: |
| 4 | |
| 5 | {{{ |
| 6 | <?xml version="1.0" encoding="UTF-8"?> |
| 7 | }}} |
| 8 | |
| 9 | The main tag that contains everything else is the ApplicationDefinition tag: |
| 10 | |
| 11 | {{{ |
| 12 | <ApplicationDefinition |
| 13 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 14 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 15 | xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd"> |
| 16 | <Title>My Application</Title> |
| 17 | <MapGroup /> |
| 18 | <WidgetSet /> |
| 19 | <Extension /> |
| 20 | </ApplicationDefinition> |
| 21 | }}} |
| 22 | |
| 23 | The main tag contains the following sub-tags: |
| 24 | |
| 25 | '''[wiki:ApplicationDefinition/Title Title]''': |
| 26 | Occurs once. Used to set the title of the web page when the application is run. |
| 27 | |
| 28 | '''[wiki:ApplicationDefinition/MapGroup MapGroup]''': |
| 29 | Occurs at least once. Defines maps to be used in the application. |
| 30 | |
| 31 | '''[wiki:ApplicationDefinition/WidgetSet WidgetSet]''': |
| 32 | Occurs at least once. Defines a Map and associated widgets to be created. |
| 33 | |
| 34 | '''[wiki:ApplicationDefinition/Extension Extension]''': |
| 35 | Occurs once. Contains extra parameters that are not part of the defined schema of the ApplicationDefinition. |
| 36 | |