Ticket #834 (closed task: fixed)
Redesign module.xml completely to allow arbitrary settings
| Reported by: | david | Owned by: | david |
|---|---|---|---|
| Priority: | high | Milestone: | 1.0 |
| Component: | config | Version: | |
| Severity: | minor | Keywords: | |
| Cc: | Patch attached: | no |
Description
So it looks like this.
<ae:configurations xmlns="http://agavi.org/agavi/config/parts/module/1.0" xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0" > <ae:configuration> <module name="Default" enabled="false"> <settings> <setting name="title">Default Agavi Sample App Module</setting> <setting name="version">1.0</setting> <setting name="authors"> <ae:parameter name="foo.bar@lol.com">Foo Bar</ae:parameter> <ae:parameter>Joe Cool</ae:parameter> </setting> </settings> <settings prefix="modules.${moduleName}.foo"> <setting name="bar">baz</setting> </settings> </module> </ae:configuration> </ae:configurations>
BC can be maintained via XSL.
Careful:
- module name gets lowercased for the directives
- <author> can have an "email" attribute right now
- enabled should not be changeable once set
Also a prerequisite for #668.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

