Registering a Custom DSL
component extends="coldbox.system.ioc.config.Binder" {
function configure(){
wirebox = {
// DSL Namespace registrations
customDSL = {
ortus = "path.model.dsl.MyDSL"
}
};
// Or here...
mapDSL("ortus","path.model.dsl.MyDSL");
}
}component {
function configure() {
binder.mapDSL("ortus","path.model.dsl.MyDSL");
}
}Dynamic Custom DSL Registration
Last updated
Was this helpful?