Configuration
You can alter cbwire's behavior by overriding settings in your config/ColdBox.cfc file.
// File: ./config/ColdBox.cfc
component{
function configure() {
moduleSettings = {
cbwire = {
"throwOnMissingSetterMethod" : false,
"componentLocation": "wires"
}
};
}
}
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 updated
Was this helpful?