Hey all,
 
I'm trying to create an admin section where authenticated users can check
their tasks approve and create content without having to go through the
webtop.
 
I posted earlier about this, but I haven't really gotten anywhere with the
suggestion that was provided. My problem revolves around a PLP that isn't
working after the first step. I create the contentObject with a
cfa_contentObjectCreate tag and a method of edit.
 
The edit handler invokes a PLP that advances through 8 steps that populate
the objects properties. Here is the code I now use. My PLP now goes to the
second step, but the PLP comes back with an error saying that my output
struct is not defined. I know that I need to provide an stInput, but what
should I populate it with? I could send it the stOutput of a
cfa_ContentObjectGet, but I don't think that's correct.
 
Am I on the right track?
 
Also, but of smaller importance, my cfa_button's no longer have the same
formatting as they did in the webtop. Does anyone know what files I need to
include to get those styles to carry over?
 
Thanks for any time and help you can provide,
Nate
 
===================
 
<CF__myFormat>
 
<!--- only create the object if the this page came from the admin/index --->
<CFIF FINDNOCASE("admin/index.cfm",cgi.HTTP_Referer,1)>
    <!--- check to see that the object hasn't already been created --->
    <CFTRY>
        <CFCATCH> 
            <CFA_contentObjectCreate
              DATASOURCE="#request.cfa.objectstore.dsn#"
              OBJECTID="#url.ID#"
              TYPEID="#form.submitTypeID#"
              METHOD="edit"
              >
        </CFCATCH>
    </CFTRY>
<CFELSE>
 
      <CFSET stInput = " ? ? ? ">

     <CFA_PLP
          plpid="550AF671-4ED4-4F31-8661327CF983DD88"
          username="#request.cfa.activeuser#"
          datasource="#request.cfa.objectstore.dsn#"
          querystring="#cgi.query_string#&bForceNewInstance=0"
          stInput="#stInput#"
          bForceNewInstance="0"
          r_stoutput="stArticle"
          r_bplpiscomplete="bComplete"
          >
</CFIF>
 
</CF_myFormat>
 

-
Nate Smith, 
Lead Developer 
[EMAIL PROTECTED] 
www.doceus.com 

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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