Title: RE: Depricated RC scope
Thread: Depricated RC scope
Forum: Bugs (ColdBox)
Your first part is correct, within the handler:
var rc =
rc.title = "Luis";
However, in your view,
you need to do the same method if you want to retrieve it using an alias like
the rc scope.
rc = context.getCollection();
Setting the rc = context.getCollection() is a why to be lazy, because you type
less. That is the only reason for it. If you want to be lazy like me and not
type that much, you use a reference variable. Else, just use the correct syntax.