Since I couldn't work out the DSL syntax, I ended up ditching wirebox.
To work around it, during the CB initialization (the environment
functions, to be specific) I'm initializing what amounts to static
properties on the classes I care about:
getComponentMetaData("package.name.ClassName").static = {};
getComponentMetaData("package.name.ClassName").static.x = "x";
To create instances I used plain old ordinary
createObject("component","package.name.ClassName")
And then to access the properties in the individual CFCs I have
getMetadata(this).static.x
Since this uses createObject instead of WireBox, this works for any
class, regardless of if it is in a directory WireBox knows to watch or
if the instance being created is done in a class that does not have
access to WireBox.
On Feb 21, 9:58 am, Michael VanDaniker <
mvand...@gmail.com> wrote:
> I hate to bump a thread like this, but does anyone know what the
> proper syntax would be for this?
>