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

CFINVOKE Output

Guest
Jun 23, 2008 Jun 23, 2008
Edit: NEVERMIND, figured this out, I accidentally used the same instance name *LOL* Thanks anyway guys!!


Hey guys, having a bit of trouble...

I have 2 CFINVOKES being called (on the same page) from a CFC.....the queries in the CFC are working, because each of these have been called on other pages individually with no problems.

However, on the same page, the first cfoutput is outputting for both, so I have TWO textboxes with the data from the first output, instead of one of each.....is there a requirement to end a CFINVOKE or something to output the next one? Code follows, stripped out all the div/table structure...

<cfinvoke component="query" method="LoadCommunityContent" returnvariable="CommunityContentOutput"></cfinvoke>
<cfinvoke component="query" method="LoadBuySellContent" returnvariable="BuySellContentOutput"></cfinvoke>

<cfloop query="CommunityContentOutput">
<cfmodule template="fckeditor/fckeditor.cfm"
basePath="fckeditor/"
instanceName="ContentText"
value='#ContentText#'
width="350"
height="300">
</cfloop>

<cfloop query="BuySellContentOutput">
<cfmodule template="fckeditor/fckeditor.cfm"
basePath="fckeditor/"
instanceName="ContentText"
value='#ContentText#'
width="350"
height="300">
</cfloop>
510
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
Participant ,
Jun 23, 2008 Jun 23, 2008
have you tried dumping (cfdump) your queries CommunityContentOutput and BuySellContentOutput to check if it is actually returning the correct number of data?
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
Jun 24, 2008 Jun 24, 2008
LATEST
Sorry, I already edited my own post yesterday, the problem was I used the same instance name twice *LOL* Totally my fault, a copy/paste error 😛 Thanks anyway!
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