Hello,
It happens in the second last step of my plp, so it is in a plp handler as
follows:
<cfa_PLPHandler>
<CFIF IsDefined('form.submit')>
<cfa_contentobjectcreate
datasource="#request.cfa.objectstore.dsn#"
typeid="0739A5DD-295E-11D5-8CF0005004D85CFA"
label="#output.Heading#"
r_id="NewObjectID">
<CFA_CONTENTOBJECTDATA
DATASOURCE = "#request.cfa.objectstore.dsn#"
OBJECTID = "#NewObjectID#">
<CFSET output.objectid = "#NewObjectID#">
<CFA_CONTENTOBJECTPROPERTY NAME="isPublished"
VALUE="#output.isPublished#">
<CFA_CONTENTOBJECTPROPERTY NAME="label"
VALUE="#output.Label#">
<CFA_CONTENTOBJECTPROPERTY NAME="teaser"
VALUE="#output.teaser#"> </CFA_CONTENTOBJECTDATA>
<!--- default form processing here --->
<CFSET thisStep.nextStep = "Step7">
<cfset thisStep.isComplete = 1>
<cfset thisStep.advance = 1>
<CFELSE>
<!--- the step code --->
<cfoutput>
<HTML>
<HEAD>
<TITLE>Step 6: Creation of the create handler
PLP</TITLE>
</HEAD>
<BODY>
<H1>Step 6: Creation of the create handler PLP</H1>
<form action="#thisStep.url#?#thisStep.queryString#"
method="POST">
<P> Thank you - your object has been
created! </P>
<input type="Submit" name="submit"
value="Step7>>">
</FORM>
</BODY>
</HTML>
</cfoutput>
</cfif>
</cfa_PLPHandler>
Thank you!
Karling.
-----Original Message-----
From: Derek Westfall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 11 April 2001 14:39
To: Spectra-Talk
Subject: RE: creating content objects
Where does the creation of the object take place in the PLP? Before the
CFA_PLP tag, or after? Or in one of the PLP steps?
Perhaps it would help to post the code for the template where the tag
appears and explain the context.
Derek
> -----Original Message-----
> From: Lum, Karling [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 8:54 PM
> To: Spectra-Talk
> Subject: RE: creating content objects
>
>
> no I didn't...I created the object type in the webtop, then I wrote a plp
> which takes in data and creates content objects of the contant
> object type I
> made in the webtop.
>
> -----Original Message-----
> From: Derek Westfall [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 11 April 2001 13:53
> To: Spectra-Talk
> Subject: RE: creating content objects
>
>
> Did you add an additional Create method for that object type?
>
> > -----Original Message-----
> > From: Lum, Karling [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 10, 2001 8:37 PM
> > To: Spectra-Talk
> > Subject: creating content objects
> >
> >
> > Hello all,
> > Can anyone see anything wrong with this tag?
> >
> > <cfa_contentobjectcreate datasource="#request.cfa.objectstore.dsn#"
> >
> > typeid="0739A5DD-295E-11D5-8CF0005004D85CFA"
> > label="#output.Heading#"
> > r_id="NewObjectID">
> >
> > For some reason it's getting stuck in an infinite creation of content
> > objects, it doesn't move past here it just keeps creating the
> > same labelled
> > content object (with a different object ID) in the webtop and I
> can't work
> > out why.
> > Thank you!!
> > Karling.
> >
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.