This post is more than 2 years old.
This was one of those perfect questions - and by perfect I mean that the reader sent the question in, and then figured it out before I even had a chance to reply. I cannot tell you how often that happens to me. It's like magic. You search for an answer - give up - ask a public group (or person) and immediately the answer becomes apparent. Anyway - here was Brian's question:
Quick question: Can the bind value in the CFDIV tag bedynamic (or variable-ized), or does it have to be hard-coded?As you can see, he just wants to make it easy to swap between two paths to a component. Now looking at that, I'd probably consider using one mapping, but simply making the physical path different. With dynamic mappings in ColdFusion 8, that becomes fairly trivial. But outside of that - as Brian found - yes, you certainly plugin a variable:
Looking at the ease of update between development and production for something like:
This is probably obvious, but it's not something I had tried myself, so I'm happy Brian shared this with me.