WEB-INF.cftags.component coldbox.system.Coldbox
This is the base component used to provide Application.cfc support
Constructor Summary | |
---|---|
init(string COLDBOX_CONFIG_FILE, string COLDBOX_APP_ROOT_PATH, [string COLDBOX_APP_KEY], [string COLDBOX_APP_MAPPING=''])
Used when not using inheritance. |
Method Summary | |
---|---|
private void
|
coldboxCommands(any cbController, any event)
Execute some coldbox commands. |
any
|
getAppHash()
Get AppHash used in the cflocks. |
any
|
getLockTimeout()
Get LockTimeout for inits. |
any
|
isfwReinit()
Verify if we need to reboot the framework. |
void
|
loadColdbox()
Load the framework, initialize it and execute application start procedures. |
private any
|
locateAppKey()
Get COLDBOX_APP_KEY used in this application. |
void
|
onApplicationEnd([struct appScope])
An onApplicationEnd method to use or call from your Application. |
boolean
|
onApplicationStart()
An onApplicationStart method to use or call from your Application. |
boolean
|
onMissingTemplate(any template)
I execute when a non-existing CFM page was requested. |
boolean
|
onRequestStart(string targetPage)
|
void
|
onSessionEnd(struct sessionScope, [struct appScope])
An onSessionEnd method to use or call from your Application. |
void
|
onSessionStart()
An onSessionStart method to use or call from your Application. |
void
|
processColdBoxRequest()
Process a Coldbox Request. |
void
|
reloadChecks()
Reload checks and reload settings. |
private void
|
renderDataSetup(any statusCode, any statusText, any contentType, any encoding)
Render data items. |
void
|
setAppHash(any appHash)
Set AppHash used in the cflocks. |
void
|
setCOLDBOX_APP_KEY(string COLDBOX_APP_KEY)
Set COLDBOX_APP_KEY. |
void
|
setCOLDBOX_APP_MAPPING(string COLDBOX_APP_MAPPING)
Set COLDBOX_APP_MAPPING. |
void
|
setCOLDBOX_APP_ROOT_PATH(string COLDBOX_APP_ROOT_PATH)
Set COLDBOX_APP_ROOT_PATH. |
void
|
setCOLDBOX_CONFIG_FILE(string COLDBOX_CONFIG_FILE)
Set COLDBOX_CONFIG_FILE. |
void
|
setLockTimeout(any lockTimeout)
Set LockTimeout. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
Used when not using inheritance
COLDBOX_CONFIG_FILE
- The coldbox config file from the application.cfcCOLDBOX_APP_ROOT_PATH
- The coldbox app root path from the application.cfcCOLDBOX_APP_KEY
- The key name to use when storing the Coldbox applicationCOLDBOX_APP_MAPPING
- The dot notation path to this applicationMethod Detail |
---|
Execute some coldbox commands
cbController
- The cb Controllerevent
- The event context objectGet AppHash used in the cflocks
Get LockTimeout for inits
Verify if we need to reboot the framework. Boolean
Load the framework, initialize it and execute application start procedures
Get COLDBOX_APP_KEY used in this application
An onApplicationEnd method to use or call from your Application.cfc
appScope
An onApplicationStart method to use or call from your Application.cfc
I execute when a non-existing CFM page was requested.
template
- I am the template that the user requested.targetPage
An onSessionEnd method to use or call from your Application.cfc
sessionScope
appScope
An onSessionStart method to use or call from your Application.cfc
Process a Coldbox Request
Reload checks and reload settings.
Render data items
statusCode
statusText
contentType
encoding
Set AppHash used in the cflocks
appHash
Set COLDBOX_APP_KEY
COLDBOX_APP_KEY
Set COLDBOX_APP_MAPPING
COLDBOX_APP_MAPPING
Set COLDBOX_APP_ROOT_PATH
COLDBOX_APP_ROOT_PATH
Set COLDBOX_CONFIG_FILE
COLDBOX_CONFIG_FILE
Set LockTimeout
lockTimeout
- Numeric