Actually.. you know what it is!

'client' is a reserved scope.. for client variables.

Try :
oClient = transfer.new("client.Client");

Mark

On Wed, Oct 22, 2008 at 2:04 PM, jasonpero <[EMAIL PROTECTED]> wrote:
>
> I create my transfer singleton and the transfer code file gets
> generated in my definitions folder. However when I try to create a new
> object I get an empty struct back and I cannot reference any of the
> getters and setters that are generated by transfer.
>
> For example the following line returns an empty struct:
> client = transfer.new("client.Client");
>
> If I try:
> client.setFirstName("Jason");
>
> I get ColdFusion error " The setFirstName method was not found" which
> makes sense considering the client variable is an empty struct instead
> of a transfer object.
>
> My transfer.xml file is simple hopefully there is nothing wrong in
> there. Otherwise I'm not sure why I keep getting the empty struct:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <transfer xsi:noNamespaceSchemaLocation="../../../../transfer/
> resources/xsd/transfer.xsd" xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance">
>        <objectDefinitions>
>                <package name="client">
>                        <!-- Client details -->
>                        <object name="Client" table="tbl_Client">
>                                <id name="objectid" type="numeric"/>
>                                <property name="FirstName" type="string" 
> column="firstName"/>
>                                <property name="LastName" type="string" 
> column="lastName"/>
>                        </object>
>                </package>
>        </objectDefinitions>
> </transfer>
>
> -Jason
>
> >
>



-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to