>- see footer for list info -<
Sure here is where I am creating the object and then calling a method from
it:
<!--- TODO: invoke the VerfiyUser method from Login.cfc --->
<cfparam name="userFound" default="">
<cfobject name="objLogin" component="Helpdesk.cfc.Login">
<!--- TODO: capture returned value from method --->
<cfset userFound = objLogin.VerifyUser("#attributes.Username#",
"#attributes.Password#")>
<cfif userFound>
<cflocation url="index.cfm?task=Search">
<cfelse>
<cflocation url="index.cfm">
</cfif>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 24 June 2005 10:51
To: 'Coldfusion Development'
Subject: RE: [CF-Dev] CFObject cannot find my CFC
>- see footer for list info -<
Stephen
Could you show us some code?
Also what is the directory structure like?
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:dev-
> [EMAIL PROTECTED] On Behalf Of Stephen Adams
> Sent: 24 June 2005 09:35
> To: 'Coldfusion Development'
> Subject: [CF-Dev] CFObject cannot find my CFC
>
> >- see footer for list info -<
> Hello, (enjoying the warm weather?)
>
> I am trying to create an instance of my cfc using CFObject, but I keep
> getting an error telling me that the cfc cannot be found. In the name
> attribute I have put the name that I'd like to use to reference my cfc
> and in the "component" attribute I have put the address to the cfc
> file itself, but still it does not find the cfc. The address I have
> put in the component attribute is the folder address to where my cfc
> file is kept. But still no luck. Does anyone know why CFObject cannot
> find a cfc?
>
> Stephen
> _______________________________________________
>
> 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 -
> <
_______________________________________________
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
>-<
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
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 -<