Hi Nate,
let me guess, the first contentObject create is ment to create the myArticle
object in your code?
 <CFA_contentObjectCreate
  DATASOURCE="#request.cfa.objectstore.dsn#"
  TYPEID="30374BA2-89C2-4EFA-ADE62DEE322198D5"
  r_ID="theID"
  >

This really should not be there!
remember the create handler is called just after the object is created!

the id of the object is as follows
<cfset theID = "#MyArticle.objectID#">
put this in instead of the first create and you are away!

L.
----- Original Message -----
From: "Nate Smith" <[EMAIL PROTECTED]>
To: "Spectra-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 7:35 PM
Subject: Infinite Looping When Creating an Object


> Hey all,
>
> I know I heard something about this before, but now I need to hear it
again.
> When I'm creating an object from the webtop > object page, the server
locks
> up on me and creates hundreds of new objects without ever going to the
edit
> handler. In this code sample, I'm creating an object of type myArticle
which
> has several embedded objects. One of these objects is a custom link object
> that has an embedded image object. I can't figure out why the code loops
> infinitely. Can anyone shed some light?
>
> Thanks,
> Nate
>
> <CFA_handler OBJECT="myArticle">
>
>  <CFA_contentObjectCreate
>   DATASOURCE="#request.cfa.objectstore.dsn#"
>   TYPEID="30374BA2-89C2-4EFA-ADE62DEE322198D5"
>   r_ID="theID"
>   >
>   <CFA_contentObjectCreate
>    DATASOURCE="#request.cfa.objectstore.dsn#"
>    OBJECTID="#theID#.DROPCAP"
>    TYPEID="70E7DFB6-A67E-11D2-B3AC00C04FA35A23"
>    >
>   <CFA_contentObjectCreate
>    DATASOURCE="#request.cfa.objectstore.dsn#"
>    OBJECTID="#theID#.IMAGE"
>    TYPEID="70E7DFB6-A67E-11D2-B3AC00C04FA35A23"
>    >
>   <CFA_contentObjectCreate
>    DATASOURCE="#request.cfa.objectstore.dsn#"
>    OBJECTID="#theID#.LINK"
>    TYPEID="125D5943-24F3-4D82-B64E6F8F56087378"
>    >
>   <CFA_contentObjectCreate
>    DATASOURCE="#request.cfa.objectstore.dsn#"
>    OBJECTID="#theID#.LINK.IMAGE"
>    TYPEID="70E7DFB6-A67E-11D2-B3AC00C04FA35A23"
>    >
>  <CFA_contentObject
>   DATASOURCE="#request.cfa.objectstore.dsn#"
>   objectID="#theID#"
>   METHOD="editArticle_full"
>   r_stObject="theObject"
>  >
>
> </CFA_handler>
>
> -
> Nate Smith,
> Lead Developer
> [EMAIL PROTECTED]
> www.doceus.com
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to