seems like the error is being thrown in the DAO.create() ... or you wouldn't
get that far

probably the create only accepts type IssueBean in the arguments tag.

If the DAO's are in a different directory, i *think* that would need to be
fully qualified to work. Try changing the argument type to any or
farcry.Public.www.lighthousepro.components.IssueBean

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Raymond Camden
Sent: Thursday, April 28, 2005 10:26 PM
To: [email protected]
Subject: [CFCDev] issue with cfargument


A user is reporting an error on one of my projects and it doesn't make
any kind of sense. The code in question does...

<cfset iBean = createObject("component","components.IssueBean")>
crap, crap, crap
<cfset iBean = application.IssueDAO.create(iBean)>

IssueDAO throws this error:

The argument IBEAN passed to function create() is not of type IssueBean.

Which doesn't make any kind of sense. I did a dump of iBean, and
getMetaData on iBean. It is definitely a component. The name is a bit
odd though:

farcry.Public.www.lighthousepro.components.IssueBean

Shouldn't the last entry on the item be all that matters?

--
=======================================================================
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : ray.camdenfamily.com
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]






----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]


Reply via email to