Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfmodule return value

Guest
Mar 14, 2011 Mar 14, 2011

Hi,

I am trying to store the content that cfmodule displays on the page to a cf variable.

<cfmodule template="mypage.cfm" attributes="attr_1">

can I store the data coming from the mypage.cfm into a variable

if not from cfmodule, is there any other tag that does this ?

Thank you

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 14, 2011 Mar 14, 2011

Yes, you can simply wrap your CFMODULE (or anything else that generates output) with the CFSAVECONTENT tag.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Translate
Community Expert ,
Mar 14, 2011 Mar 14, 2011

Yes, you can simply wrap your CFMODULE (or anything else that generates output) with the CFSAVECONTENT tag.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 15, 2011 Mar 15, 2011
LATEST

Dave,

that is exactly what I am looking for.

thanks a lot

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources