hi,
is this the right way to cache modules initial metadata?
ModuleConfig.cfc
function onLoad(){
controller.runEvent('module1:manager.appInit');
}
manager.cfc (handler)
public boolean function appInit() output=false{
var stMeta = structNew();
if (NOT getColdboxOCM().lookup('meta@module1')){
getColdboxOCM().set("meta@module1", stMeta, 0);
}
return true;
}
regards,
daniel