still having problem with cfdiv
Hi,
I pass in my variable with cfajaxproxy to sayHello_serverSide, but i need to return this to the page via cfdiv. My cfdiv tag bound to a cfm page which invokes the returnToDiv method.
The problem is the variable does not seem to pass from the sayHello_serverSide method to the returnToDiv method. How can I make #arguments.name# available to the returnToDiv method.
Thanks.
<cfcomponent output="true">
<cffunction name="sayHello_serverSide" access="remote" returntype="string" output="yes" >
<cfargument name="name" type="string" required="false" default="Nameless" >
<cfreturn #arguments.name# >
</cffunction>
<cffunction name="returnToDiv" returntype="string">
<cfinvoke method="sayHello_serverSide" returnvariable="myname" />
<cfreturn myname />
</cffunction>
</cfcomponent
