Configuration
You can alter cbwire's behavior by overriding settings in your config/ColdBox.cfc file.
1
// File: ./config/ColdBox.cfc
2
3
component{
4
function configure() {
5
moduleSettings = {
6
cbwire = {
7
"throwOnMissingSetterMethod" : false,
8
"componentLocation": "wires"
9
}
10
};
11
}
12
}
13
Copied!
Overriding the module settings is optional. All settings come with a default that is used if no overrides are provided. See Overriding Module Settings in the ColdBox documentation for additional reference.

throwOnMissingSetter

Set as true to throw a WireSetterNotFound exception if the incoming wire request tries to update a property without a setter on our component. Otherwise, missing setters are ignored. Defaults to false.

componentLocation

The relative folder path where the cbwire components are stored. Defaults to wires.
Last modified 20d ago
Copy link
Edit on GitHub