Luis Majano Forums Notification: Post to Depricated RC scope

Title: RE: Depricated RC scope
Thread: Depricated RC scope
Forum: Bugs (ColdBox)
Conference: ColdBox
User: puc

OK. This is my handler code:

testQry=objObjectDataGateway.getData(containerID =
'#application.containerFieldID#',stuNavigation='#stuNavigation#',stuSearch='#stu
Search#');
event.setValue("qryContainerData",testQry);

Then on my
view I have:

<cfif event.qryContainerData.recordcount>

and I get error:
Element QRYCONTAINERDATA.RECORDCOUNT is undefined in EVENT.

if I set it using
:

event.qryContainerData = objObjectDataGateway.getData(containerID =
'#application.containerFieldID#',stuNavigation='#stuNavigation#',stuSearch='#st
uSearch#');

NO ERROR!!! WHY???

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