You can only set one application level view helper. It would be helpful, especially with modules, to be able to set a list or array, just like with Application Helpers.
I think it's fine if we want to make a module setting to declare helpers, but we'd need to fix this under the hood anyway.
I know, me too. That's what I am saying, maybe we need a convention where modules can just do a list or array of helpers and let ColdBox load and unload them for you.
This can be something like:
Fine with me. We'd want applicationHelpers and viewHelpers
I think there needs to be a proper convention for modules to declare helpers. Then the framework (ColdBox, CommandBox) does the work of appending them into the main array (and checking for duplicates, etc) and when the module unloads, the framework should automatically remove them as well. All the boilerplate we have to do right now isn't good at all. A module shouldn't reach into the guts of the framework and inject its bits. It should declare it's "exports" and let the framework pick them up and use them.