ColdBox is an object-oriented, event-driven framework for ColdFusion that includes tools to help developers with bug reporting, logging, enterprise caching, debugging, i18n, URL rewriting, ORM integration, testing, and mocking.
Questions tagged [coldbox]
137 questions
1
vote
1 answer
Is there a way to (per request) set a non-persistent Database Bean in Coldbox
I am looking to migrate from a custom framework to Coldbox.
The application has 3 datasources
Core
Common
Site
The Core datasource stores information about the sites, the common datasource stores shared information, like the states table, and the…

Tyler Clendenin
- 1,459
- 1
- 12
- 25
1
vote
2 answers
ColdBox vs CFWheels
I am migrating a site built in Coldfusion (no framework) to a coldfusion framework. Right now it looks like a choice between ColdBox and CFWheels.
The database is MS SQL.
I was wondering if anyone has migrated an existing site over to either of…

redconservatory
- 21,438
- 40
- 120
- 189
1
vote
0 answers
Front-Controller Framework Architecture and Services
I am trying to use my service layer in my own front-controller style framework and I've always been taught to decouple the service layer from the controller layer.
This is causing me issues as I need to access important front-controller methods from…

Puc Covelli
- 71
- 7
1
vote
1 answer
How to load images from a network drive into HTML on a Coldfusion Server?
I need to load images from a secured network drive into an HTML document. I understand that because the network drive is not part of the webroot, this is not an option and is considered a security feature to protect the files that live on the…

chefjeff
- 37
- 6
1
vote
2 answers
Running javascript unsuccessfully inside of Coldfusion cfoutput tag
I am making a form editor in Coldfusion and I want to use inline script tags to dynamically add Javascript event listeners. The structure of my code looks a bit like the following:
...

chefjeff
- 37
- 6
1
vote
1 answer
Dependency Variable Doesnt Exist
Newbie in coldbox so please have patience with me.
I am trying to implement TDD on my coldbox application.
Under my service model I inject this dependency.
property name="wirebox" inject="wirebox"
property name="populator"…

Undecided Dev
- 840
- 6
- 16
1
vote
0 answers
lucee.transformer.library.tag.TagLibException coldbox error
I am trying to make a helper for my view. I want to edit the template css.
view filename: index.cfm
helper filename: indexHelper.cfm
my helper content:
Before i add…

Moyowi
- 11
- 1
1
vote
1 answer
Coldbox Model Relationships
I feel as though I'm missing something, but the Coldbox documentation is such a mess that I can't seem to find how to create relationships between my models.
I have projects, and users. Each a separate table, with a project having a single user…

Robert Gaum
- 129
- 1
- 10
1
vote
0 answers
Coldbox Module Routes
Is there a way, to have multiple routes go through to the same module ?
I have tried adding the
addModuleRoutes(pattern="/blog", module="test");
to the config/Router.cfc
But I just always get the error
Error loading module routes as the module…

Chris
- 419
- 2
- 16
1
vote
1 answer
Trouble rendering coldfusion / html page as a docx extension rather than a doc extension
I am writing an application using ColdBox / ORM. For my problem, I am attempting to have HTML code rendered / downloaded with an .docx file extension rather than a .doc file extension. When downloading the rendered document and trying to open it, I…

John
- 21
- 2
1
vote
0 answers
Need explanation for 'convention over configuration'
I saw 'convention over configuration' in most of the CF frameworks. Could anyone please explain this with example? I got a different answer from different people. So, I little bit confused.
Why fw1 is 'convention over configuration'?

jawahar N
- 462
- 2
- 13
1
vote
1 answer
NullPointerExceptions in ColdFusion 9 and ColdBox on localhost
I'm running CF 9.0.1 Developer and Coldbox 3.0.0 on my local machine (64-bit Windows Vista running 32-bit CF9 on Apache). I'm working on an application that I've checked out from SVN and deployed locally. Everything seems to be working correctly,…

Dave DuPlantis
- 6,378
- 3
- 26
- 30
1
vote
2 answers
session facade, does it belong to the Model layer or Controller layer?
One of the business rules is to log which staff does which operation, and the current code passes the whole session facade into the Service (model layer).
Does it sound/smell right? Shouldn't the Controller deals with the Session Facade and extract…

Henry
- 32,689
- 19
- 120
- 221
1
vote
1 answer
Converting CFMAIL to script equivalent and using a query
So I am converting a legacy app to ColdBox MVC and trying to convert tags to script. In the past I would have just done

daltec
- 447
- 1
- 5
- 15
1
vote
1 answer
How to get JSON data output by event via runEvent() in ColdBox?
I have an event that is outputting data via event.renderData(data=mydata, "json").
When I access it via the browser, the JSON data is returned as expected. Though if I call the event from within another event, I only get an empty string returned.
I…

Sebastian Zartner
- 18,808
- 10
- 90
- 132