Deb Lewis
2006-Sep-21 09:05 UTC
[Masterview-devel] Directive metadata and namespaces status
I think I''ve got something fairly workable, but I want to do some additional testing tomorrow before committing. Changes are mainly in the DirectiveRegistry and its loading mechanism; loading custom directive into a diff namespace basically just worked once the new metadata mechanisms were hooked in, no template parser changes needed. DirectiveMetadata will be added as a mixin to DirectiveBase; when I commit that, I''m also going to shift the DirectivePriorities declarations out of DirectiveHelpers into DirectiveMetadata. Added support for priority as part of metadata mechanism so that default med priority is configured as currently done; directives which want a diff priority can simply declare it in their metadata rather than needed a priority method. ~ Deb
Jeff Barczewski
2006-Sep-21 13:57 UTC
[Masterview-devel] Directive metadata and namespaces status
On 9/21/06, Deb Lewis <djlewis at acm.org> wrote:> I think I''ve got something fairly workable, but I want to do some additional > testing tomorrow before committing. > > Changes are mainly in the DirectiveRegistry and its loading mechanism; > loading custom directive into a diff namespace basically just worked once > the new metadata mechanisms were hooked in, no template parser changes > needed. > > DirectiveMetadata will be added as a mixin to DirectiveBase; when I commit > that, I''m also going to shift the DirectivePriorities declarations out of > DirectiveHelpers into DirectiveMetadata. Added support for priority as part > of metadata mechanism so that default med priority is configured as > currently done; directives which want a diff priority can simply declare it > in their metadata rather than needed a priority method. >Sounds wonderful!