Thanks for helping! IT did actually get rid of the problem (I had to remove
it elsewhere) however it gives me other errors, I think it thinks thta I am
trying to store simple values as a struct for some reason. Here is the
fragment of code again and the resulting error:
<CFSCRIPT>
stDDO = StructNew();
stDDO.numberofpaths = "";
stDDO.variablename = "";
stDDO.variablevalue = "";
</cfscript>
<cfoutput>here</cfoutput>
<cfa_PLPCREATE
name="testplp_tmp"
stDDO="#stDDO#"
handlerRoot="/plps/myobplp/"
handlerRelativePath="/plps/"
iTimeout="15"
bCreateStructure="False"
dataSource="#request.cfa.objectstore.dsn#"
r_bStructureWasCreated="bcreated"
r_objectID="plpid"
r_stOutput="stoutput" plpid="#CreateUUID()#">
<cfoutput>PLP Is created: #bcreated#<br>
stOutput: #stoutput#<br>
PLP ID: #plpid#</cfoutput>
**
The resulting output I get is:
here PLP Is created: 0
stOutput:
**
Error Diagnostic Information
Expression result cannot be converted to a string
Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. must
evaluate to a value that can be converted to a string for output or dynamic
text accumulation purposes. Complex objects, such as queries, arrays, and
COM/DCOM objects, cannot be represented as strings.
The error occurred while processing an element with a general identifier of
(#stoutput#), occupying document position (23:11) to (23:20) in the template
file D:\INETPUB\WWWROOT\FORPLPTEST\PLPCREATE.CFM.
Date/Time: 04/03/01 09:37:07
Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
Remote Address: 127.0.0.1
**
It does not even print the PLP ID. Thank you again for your help!!
-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Monday, 2 April 2001 22:30
To: Spectra-Talk
Subject: RE: Probs with PLP CREATE
Try removing / from the plpcreate. Ie, you have this: <cfa_plp ... />,
change it to <cfa_plp ...>
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Lum, Karling [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 02, 2001 3:01 AM
> To: Spectra-Talk
> Subject: Probs with PLP CREATE
>
>
> Hello,
> I'm trying to do a plp create, here's my code:
> <CFSCRIPT>
> stDDO = StructNew();
> stDDO.numberofpaths = "";
> stDDO.variablename = "";
> stDDO.variablevalue = "";
> </cfscript>
> <cfoutput>here</cfoutput>
> <cfa_PLPCREATE
> name="testplp_tmp"
> stDDO="#stDDO#"
> handlerRoot="/plps/myobplp/"
> handlerRelativePath="/plps/"
> iTimeout="15"
> bCreateStructure="False"
> dataSource="#request.cfa.objectstore.dsn#"
> r_bStructureWasCreated="bcreated"
> r_objectID="plpid"
> r_stOutput="stoutput" plpid="#CreateUUID()#"/>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.