Title: Depricated RC scope
Thread: Depricated RC scope
Forum: Bugs (ColdBox)
Conference: ColdBox
User: puc
In one of my handlers I have
var rc = context.getCollection();
rc.title
="test page";
and then try to display it in my view using
#rc.title#
This does not work.
Also tried ,
context.pageTitle = "test
page";
and then display using
#context.title# and
getValue("context.title")#
and that didn't work either.
It seems you
can only get to the variable using setValue and then getvalue. Is this correct
and if so, why set rc = context.getCollection() ??
I'm confused.