Xian
Xian

Reputation: 31

cfoutput not throwing any results

Hi I have a component that contains getters and setters, which is fed by a structure for session variables. When I call the component and use cfoutput tag for that getter and setter the output is giving gibberish as results.

cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_ADDRESS_ZIP_CODE@6187548c     cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_FLAGS@7bbfe559 
   cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_FLAGS@7bbfe559 
cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_RECORD_NUMBER@736a7587 
cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_RECORD_NUMBER@736a7587 
cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_ADDRESS_ZIP_CODE@6187548c 
cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_ADDRESS_ZIP_CODE@6187548c 
cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_WEIGHT@524a2d43 
cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_WEIGHT@524a2d43 
cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETVIN@3e1b3ea

When I do a CTRL+F for the variable values passed, I find them below in the ColdFusion Debugging Information.
I want to get the requisite cfoutput values, which i was getting as desired previously .

Upvotes: 1

Views: 272

Answers (2)

zarko.susnjar
zarko.susnjar

Reputation: 2053

Are you doing this?

<cfset allDSF = createObject("component", cfc.allDefinedSessnFunct") />
<cfoutput>#allDSF.getCUSTOMER_ADDRESS_ZIP_CODE()#</cfoutput>

Some code would help us to help you...

Upvotes: 0

SpliFF
SpliFF

Reputation: 38956

by all accounts I'd say you're outputting the component itself instead of one of its string properties. Check your output code.

Upvotes: 3

Related Questions