Just an FYI that i've found helpful ...

If a component extends another component, you can use the parent component
as the type in the arguments tag and it works.

That can be very helpful  ... sometimes, but most likely not in your case.

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