Difference between revisions of "Xebra Webapp Config File"
Line 1: | Line 1: | ||
[[Category:Xebra]] | [[Category:Xebra]] | ||
[[Xebra About|About]] | [[Xebra Installation|Installation]] | [[Xebra Documentation|Documentation]] | [[Xebra Tutorial|Tutorials]] | [[Xebra FAQ|Frequently Asked Questions]] | [[Xebra About|About]] | [[Xebra Installation|Installation]] | [[Xebra Documentation|Documentation]] | [[Xebra Tutorial|Tutorials]] | [[Xebra FAQ|Frequently Asked Questions]] | ||
+ | |||
+ | When the server (re)loads its configuration file, it scans the webapp_root folder specified in the config file for 'config.wapp' files. | ||
+ | |||
=Properties= | =Properties= | ||
+ | ==ecf== | ||
+ | *Type: Path to file | ||
+ | *Description: Specifies the path to the webapp's ecf file. | ||
+ | |||
==name== | ==name== | ||
− | *Type: | + | *Type: STRING |
*Description: The name of the webapp | *Description: The name of the webapp | ||
==port== | ==port== | ||
− | *Type: | + | *Type: NATURAL |
*Description: Defines the port where the webapp is listening to server request. Use a different port for every webapp | *Description: Defines the port where the webapp is listening to server request. Use a different port for every webapp | ||
==host== | ==host== | ||
− | *Type: | + | *Type: STRING |
*Description: (Not used yet) | *Description: (Not used yet) | ||
− | == | + | ==taglibs== |
− | *Type: | + | *Type: ARRAY |
− | *Description: | + | *Description: Use this property to tell the translator which tag-libraries are used by this webapplication. |
+ | ===name=== | ||
+ | *Type: STRING | ||
+ | *Description: The name of the taglib | ||
+ | ===ecf=== | ||
+ | *Type: STRING | ||
+ | *Description: Specifies the name of the taglib's ecf file | ||
+ | === path === | ||
+ | *Type: Path to dir | ||
+ | *Description: Specifies the dir to the taglib | ||
=Example= | =Example= | ||
− | + | <code> | |
− | + | { | |
− | + | "ecf": "$XEBRA_DEV/www/demoapplication/demoapplication.ecf", | |
− | + | "name": "demoapplication", | |
+ | "port": "55010", | ||
+ | "host": "localhost", | ||
+ | "taglibs": | ||
+ | [ | ||
+ | { | ||
+ | "name": "xebra_taglibrary_base", | ||
+ | "ecf": "xebra_taglibrary_base.ecf", | ||
+ | "path": "$XEBRA_LIBRARY/xebra_taglibrary_base" | ||
+ | }, | ||
+ | { | ||
+ | "name": "xebra_taglibrary_form", | ||
+ | "ecf": "xebra_taglibrary_form.ecf", | ||
+ | "path": "$XEBRA_LIBRARY/xebra_taglibrary_form" | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | </code> |
Revision as of 12:55, 10 August 2009
About | Installation | Documentation | Tutorials | Frequently Asked Questions
When the server (re)loads its configuration file, it scans the webapp_root folder specified in the config file for 'config.wapp' files.
Contents
Properties
ecf
- Type: Path to file
- Description: Specifies the path to the webapp's ecf file.
name
- Type: STRING
- Description: The name of the webapp
port
- Type: NATURAL
- Description: Defines the port where the webapp is listening to server request. Use a different port for every webapp
host
- Type: STRING
- Description: (Not used yet)
taglibs
- Type: ARRAY
- Description: Use this property to tell the translator which tag-libraries are used by this webapplication.
name
- Type: STRING
- Description: The name of the taglib
ecf
- Type: STRING
- Description: Specifies the name of the taglib's ecf file
path
- Type: Path to dir
- Description: Specifies the dir to the taglib
Example
{ "ecf": "$XEBRA_DEV/www/demoapplication/demoapplication.ecf", "name": "demoapplication", "port": "55010", "host": "localhost", "taglibs": [ { "name": "xebra_taglibrary_base", "ecf": "xebra_taglibrary_base.ecf", "path": "$XEBRA_LIBRARY/xebra_taglibrary_base" }, { "name": "xebra_taglibrary_form", "ecf": "xebra_taglibrary_form.ecf", "path": "$XEBRA_LIBRARY/xebra_taglibrary_form" } ] }