Scott,

    I ran into the same issue last week. What I've come to deduce is that once 
CFDocument is called, all other action on the page stops as control is passed 
to the pdf plugin.
    As such, the cfc is unable to return the printSuccess value. That would 
explain the DeliveryInDoubt error as Flex is expecting a return value. Try 
running the cfc without the return. I'm guessing that it will run without the 
error.

Mark F.


> Sure.  Here is an extremely simplified version of the cfc that still 
> throws the DeliveryInDout error:
> 
> <cfcomponent displayname="printRO"output="false">
>       <cffunction name="printFactSheet" returntype="numeric" 
> access="remote" output="false">       
>               <cfset printSuccess = 1 />
>                       <cfdocument format="PDF" saveAsName="test">
>                               <body>Hi</body>
>                       </cfdocument>
>               <cfreturn printSuccess />
>       </cffunction>
> </cfcomponent>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5069
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to