This my first post to the list, hello everyone. I am a developer working
for a large healthcare institution in Upstate New York that is seriously
considering FarCry as a CMS framework.

I had the same exact problem... the objectID seems to have to be part
of the stProperties structure as well as passed in as a separate
argument so I just added a line (this is in the included edit handler
(edit.cfm)):

stProperties.objectID = stObj.objectID;

This may not be the appropriate way to do this, but it worked for me.

thanks,


David Ross
Programmer/Analyst
Albany Medical College
518.262.0930
518.422.0162 (pager)

>>> [EMAIL PROTECTED] 12/15/2003 4:53:31 AM >>>
I trying out a tutorial (Custom Types - a walkthrough by Brendan
http://farcry.daemon.com.au/go/objectid/B54EFE07-D0B7-4CD6-F9384192E5D18D97)
but in the process an error has occurred and am no sure how to solve
it.
The error occured when i tried to add a gallery or photo. Below is the
error;

--------------------
Error: You must pass the objectid as an argument or part of the
stProperties structure.
 
  
The error occurred in
C:\Inetpub\applications\fourq\_fourq\setData.cfm:
line 36
Called from C:\Inetpub\applications\fourq\fourq.cfc: line 112
Called from
C:\Inetpub\applications\farcry_core\packages\types\types.cfc:
line 93
Called from C:\Inetpub\applications\fourq\tags\contentobjectdata.cfm:
line
36
Called from
C:\Inetpub\applications\farcry\packages\types\_bsGallery\edit.cfm: line
30
Called from
C:\Inetpub\applications\farcry\packages\types\bsGallery.cfc:
line 23
Called from : line 1
Called from C:\Inetpub\applications\fourq\tags\contentobject.cfm: line
38
Called from C:\Inetpub\applications\farcry_core\tags\navajo\edit.cfm:
line
109
Called from C:\Inetpub\applications\farcry_core\admin\navajo\edit.cfm:
line 3
 
34 :    <cfset objectid=arguments.objectid>
35 : <cfelse>
36 :    <cfabort showerror="Error: You must pass the objectid as an
argument or part of the stProperties structure.">
37 : </cfif>
38 : 

Any help?

-kimotho

 

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] 
To unsubscribe send a blank email to
[EMAIL PROTECTED] 

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to