Well, the problem is back again.  This is most frustrating. I can't
explain what is going on here. This time my instantiation of the
document bean is this:

<cfset document = createObject("component", "model.document").init( ID
= arguments.event.getArg("id") ) />

and it gives the same error as before:

The ID argument passed to the init function is not of type numeric.
If the component name is specified as a type of this argument, its
possible that a definition file for the component cannot be found or
is not accessible.

I change the above to be this:
<cfset document = createObject("component", "model.document").init( ID
= 26239) />
and it still produces the exact same error.

If I put it to ....init() />
it defaults to 0 and works fine. This is the opposite behavior I first
reported.
I have searched for other occurances of model.document and not finding
any.



On Jun 23, 4:48 pm, Teaman <[email protected]> wrote:
> Well... go figure... It works now.  I didn't change anything.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
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/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to