- see footer for list info -<
this is the code in cffm.cfc form 86 to 100

<cffunction access="public" name="forceNumeric" output="no" returntype="Struct" hint="Forces specified variables within the variables scope to be numeric values. This is required for certain variables when interacting with the java image library.">
        <cfargument name="scopeVariables" type="Struct" required="yes">
        <cfargument name="varList" type="String" required="yes">

        <cfset var i = 0>
        <cfset var thisVar = "">
        <cfloop from="1" to="#ListLen(arguments.varList)#" index="i" step="1">
                <cfset thisVar = listGetAt(varList,i)>
                <cfif not isNumeric(evaluate("scopeVariables." & thisvar))>
                        <cfset setVariable("scopeVariables." & thisVar, 0)>
                </cfif>
<cfset setVariable("scopeVariables." & thisVar,javacast("double",evaluate("scopeVariables." & thisvar)))>
        </cfloop>
        <cfreturn scopeVariables>
</cffunction>


At 17:26 06/04/2006, you wrote:
>- see footer for list info -<
Show us the code in cffm.cfc.

We need to find where this is:
CFSET tag occupying document position (89:2) to (89:7).


Also...

<cfset cffm = createObject("component","cffm")>
<cfinvoke component="#cffm#" method="init">


Could you not do this thus:
<cfinvoke component="#cffm#" method="init" returnvariable="cffm">

?  Not relevant to your problem, but makes for less coding, which is
always nice.

--
Adam

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

ARAXI Traductions France
100 Passage Henri Régnault - 92400 Courbevoie La Défense 6
Tél. : 01 49 03 41 49 - Fax : 01 49 03 41 42 _______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to