开发者

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$funcGE开发者_如何学运维TCUSTOMER_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 .


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


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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜