1

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?

jinglesthula
  • 4,446
  • 4
  • 45
  • 79

2 Answers2

3
event.setValue(name="myVar", private=true);

or

<cfset event.setValue(name="myVar", private=true) />
Richard Herbert
  • 616
  • 3
  • 5
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