Luis Majano Forums Notification: Post to Depricated RC scope

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.

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=4C4AEEF0-123F-6116-429DF123C83D1664