Question
CFINVOKE Output
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>
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>
