LogoLogo
InstallSource CodeIssuesSupport
v1.x
v1.x
  • Introduction
  • Essentials
    • Installation
    • Configuration
    • Creating Components
    • Rendering Views
    • Data Properties
    • Actions
    • Events
    • Lifecycle Events
  • Component Features
    • Redirecting
    • Logging
  • Templates
    • Loading States
    • Polling
    • Prefetching
    • Offline State
    • Dirty States
    • Defer Loading
  • JS Integrations
    • AlpineJS
    • Inline Scripts
  • Testing
  • Security
  • Troubleshooting
  • CommandBox Commands
Powered by GitBook
On this page
  • throwOnMissingSetter
  • componentLocation

Was this helpful?

  1. Essentials

Configuration

PreviousInstallationNextCreating Components

Last updated 3 years ago

Was this helpful?

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"
            }
        };
     }
}

Overriding the module settings is optional. All settings come with a default that is used if no overrides are provided. See 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.

Overriding Module Settings