In Coldbox the event object sports a setValue function. You pass it a key and value and it will set the value for that key on the rc. Is there a way to tell setValue to operate on the prc instead?
Asked
Active
Viewed 641 times
2 Answers
3
event.setValue(name="myVar", private=true);
or
<cfset event.setValue(name="myVar", private=true) />

Richard Herbert
- 616
- 3
- 5
-
After I asked the question I had the bright idea to look in the code :S There it was. – jinglesthula Apr 19 '12 at 17:40
2
I would also recommend you talk directly to the passed in collection structures. Working with structures in ColdFusion is much much faster than method calls

Luis Majano
- 334
- 2
- 2