Thank you Phil!
I'm trying to get my hands on some sample code that actually shows the usage
of the DDO so I can store my values there and retrieve them. I think this is
my biggest problem at present. Thanks again!
Karling.

-----Original Message-----
From: Phil Haeusler [mailto:[EMAIL PROTECTED]]
Sent: Friday, 30 March 2001 11:27
To: Spectra-Talk
Subject: Re: PLP


Karling,

Get to know the tags

<cfa_PLPCreate> - create the base plp
<cfa_PLPStepCreate> - create an individual plp step

these allow you to create a plp properly registered in cfaobjects 
database.  Although you will still have to create the handlers for each 
plp step, and the code calling the <cfa_PLP> in the first step.

Just keep in mind that these are PITA tags rather than the top level 
Spectra tags so you don't get the nice inline tag editor in Studio but 
the help is still there

The general idea is when you want to pass information between steps in 
the plp, you store it in the DDO that you created when you creates the 
PLP (it's an attribute of <cfa_plpcreate>).  So for example, in 
processing step 1 of a plp, save the Form.variable_name to the Output. 
scope (where the DDO is stored) and then in step 2 access the variable 
that is stored in the Output. scope.  This provides you with a place to 
reference information created in other steps.

Phil

-----Original Message-----
From: "Lum, Karling" <[EMAIL PROTECTED]>
To: Spectra-Talk <[EMAIL PROTECTED]>
Date: Fri, 30 Mar 2001 10:40:13 +1000
Subject: PLP

>Hello everyone,
>I am a newcomer to coldfusion/spectra and am still trying to find how
>it all
>fits together and how to code in CF. I'm trying to code a dynamic PLP
>in CF
>(that mimics the webtop). 
>My aim is to write a PLP which creates the final PLP that the end-user
>will
>see and use. The reason I want it dynamic is so that an operator who
>is
>using the first PLP to create the second (final) PLP can specify the
>number
>of steps they want in each final plp.  I know this is confusing!  I
>want to
>ask two questions:
>1) how difficult this will be to write and if it is possible in a
>short time
>period.  
>2) when coding a plp in coldfusion - to pass variables from a html
>form in
>step 1 to a html form in step 2, what do I do?  I'm trying to print in
>a
>table:
><td>#form.variablevalue#</td> hoping that this will get the
>variablevalue
>from the previous step but it doesn't work.
>
>Thank you so much in advance!!
>
>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.

Reply via email to