Yes you are right about where you set the definition path and my code
looks like:
<cfscript>
application.transferFactory = createObject("component",
"transfer.TransferFactory").init("config/datasource.xml","config/transfer.xml",
"config/definitions");
transfer = application.transferFactory.getTransfer();
category = transfer.new("pets.Category");
</cfscript>
You are saying the following line:
application.transferFactory = createObject("component",
"transfer.TransferFactory").init("config/datasource.xml","config/transfer.xml",
"config/definitions");
should look like:
application.transferFactory = createObject("component",
"transfer.TransferFactory").init("config/datasource.xml","config/transfer.xml",
"/mypetmarket/config/definitions");?
Will try this.
On Sun, Dec 20, 2009 at 10:10 PM, Matt Quackenbush <[email protected]> wrote:
> My apologies. The 'definitionsPath' is a setting with a particular
> framework I use. It has been ages since I have used Transfer outside of a
> framework, so I don't remember all of the specifics. According to the docs
> (link below) it is passed into the init() method when you create your
> Transfer factory.
>
> http://docs.transfer-orm.com/wiki/Installation_and_Updating.cfm
>
> Since your definitions folder lives down under your web root a couple of
> levels, the path should be "/cfpetmarket/config/definitions".
>
> HTH
>
> --
> Before posting questions to the group please read:
> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
>
> You received this message because you are subscribed to the Google Groups
> "transfer-dev" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/transfer-dev?hl=en
--
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
You received this message because you are subscribed to the Google Groups
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/transfer-dev?hl=en