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

DepartmtGateway.cfc

Guest
Nov 12, 2006 Nov 12, 2006

Copy link to clipboard

Copied


I was using RDS Dataview from Flex 2 builder, and it created three CFC files. One of the files named DepartmtGateway.cfc there is a method as following:

<cffunction name="save" output="false" access="remote">
<cfargument name="obj" required="true" />
<cfscript>
if( obj.getDept_ID() eq 0 )
return createObject("component", "DepartmtDAO").create(arguments.obj);
} else {
return createObject("component", "DepartmtDAO").update(arguments.obj);
}
</cfscript>
</cffunction>

What is the syntax from CFM to call this method?

Could anyone point me where I can download the examples, or any examples is welcome?

Thanks

ps:I am using CompanyInfo.mdb

TOPICS
Advanced techniques

Views

213

Translate

Translate

Report

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
Nov 12, 2006 Nov 12, 2006

Copy link to clipboard

Copied

LATEST
never mind, I got it.

Votes

Translate

Translate

Report

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
Documentation