You would have to put a cfa_contentobjectdata in the edit handler to write the object out still, is this there?
Cheers, Aaron shurmer. -----Original Message----- From: jeff tapper [mailto:[EMAIL PROTECTED]] Sent: Thursday, 14 March 2002 8:48 AM To: Spectra-Talk Subject: Re: Creating Objects did u try a closing / on the contentObjectCreate? <cfa_ContentObjectCreate datasource="#ds#" typeID="#projectTypeID#" method="edit" bActivate = "Yes" r_id="NewProjectID"/> At 08:04 AM 3/14/2002 +1300, you wrote: >Hi, > >I have a page that creates a new object thus:- > <cfa_ContentObjectCreate > datasource="#ds#" > typeID="#projectTypeID#" > method="edit" > bActivate = "Yes" > r_id="NewProjectID"> >The object is created and the active flag is set to "1" but it does not >save the label or the other fields. However if I pick up this object >with the empty label and use the same edit handler it does save the >fields. > >I also tried the same thing with the default edit handler and got the >same result. I have been using Spectra since it was a Beta product and >I have not had this problem before. I do vaguely remember a similar >problem with version 1.0 but I am using 1.5.1. I think I must be >overlooking something quite simple but I can't see it. > >I tried doing it thus: > <cfa_ContentObjectCreate > datasource="#ds#" > typeID="#projectTypeID#" > bActivate = "Yes" > r_id="NewProjectID"> > > <cfa_contentObject > datasource="#ds#" > objectID="#NewProjectID#" > method="edit"> >But same problem. I tried using the default edit handler - same >problem. I looked at the table in the database and it is not saving the >information from the first invocation of the edit handler. > >I have Spectra 1.5.1 with Spectra source patches, CF 5.0, using SQL >Server 7.0 on Windows 2000. This just has to be some simple caching or >programatic issue on my part rather then a bug but I can't see what I >am doing wrong. I have done this lots of times before and so am stumped >as to what I might be doing wrong. Any ideas? > >Kind Regards > > >Dave Crosby >Project Manager >----------------------------------------------------------------------- >----- >Delta Software Limited >"Global Thought, Local support" >Level 4, Bridgecorp House, >36 Kitchener Street, Phone: ++64 9 309 9400 >PO Box 7112, Fax: ++64 9 309 9402 >Auckland, New Zealand Web Site: http://www.delta.co.nz >----------------------------------------------------------------------- ----- >Representing: >Gupta Technologies, Infra Corporation, Macromedia & Mercury Interactive. >----------------------------------------------------------------------- ----- >CAUTION: If you are not the intended recipient you are notified that all >content is to be treated as confidential, and is not to be used, copied >or forwarded to third parties without the prior permission of the author. >If you have received this e-mail message in error please delete it and >notify me. Thank you. >----------------------------------------------------------------------- ----- > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.325 / Virus Database: 182 - Release Date: 19/02/2002 > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. ------------------------------------------------------------------------------ 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.
