Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
apngss@yahoo.com #1
How to call a coldfusion function defined in other coldfusion file??
inside a.cfm, it has code fragment:
<cfloop>
<cfinclude template="b.cfm">
</cfloop>
inside b.cfm, it has code fragment:
<cfoutput>#paintTable()#</cfoutput>
//etc...
<cffunction name="paintTable">
<cfoutput>call paint table function</cfoutput>
</ccfunction>
It will yield the following error:
coldfusion.runtime.CfJspPage$DynamicDuplicateFunct ionDefinitionException:
Routines cannot be declared more than once.
I think the duplicated function problem is due to the <cfloop>.
The caller of paintTable() is in the same file. So if I
declare the function in other file, it should solve the problem,
but I don't know how to call it.
Please advise. thanks!!
apngss@yahoo.com Guest
-
Passing SQL from Flash to Coldfusion - UsingPreserveSingleQuotes function
I have a sql string that I create via Flash, and pass into a .cfc, which takes the string, performs the PreserveSingleQuotes function and submits... -
How to use Windows credentials to call reporting services web service thru Coldfusion
I am currently looking at calling reporting services 2005 web service with coldfusionMX 7 using Windows integrated security from Mister X . I... -
Coldfusion and flash. SendAndLoad function, POST, URL Encode
Hi there, I have a flash that uses a sendAndLoad (as2 - Flash 8) function to exchange information with a coldfusion file. The sendAndLoad... -
How to call an RPG program from an SQL statement issuedoutside AS/400 from Coldfusion 7 !?!?
How to call an RPG program from an SQL statement issued outside AS/400 from Coldfusion 7 !?!? I have several coldfusion 7.0 applications that... -
coldfusion function for table length
Is there a simple way of finding a tables length in CF?



Reply With Quote

