After doing a little reading in the Adobe docs, I tried this solution:
<cfDocument format = "pdf">
<cfDocumentSection>
<p> </p>
</cfDocumentSection>
<cfPDFForm source =
"../documents/2010_0211_HoltzmanRentalApplicationOnline_Foxit_htmlSubmit.pdf
"
action = "populate">
<cfPDFFormParam name = "currentDate" value =
"#dateFormat(now(), 'mmm d, yyyy')#">
</cfPDFForm>
</cfDocument>
and it seems to have solved the problem with FF having trouble opening the
PDF. It opens
first time, every time...at least so far.
Is there anything problematic about the above code?
Would using <cfContent...> be better? If so, why?
Thanks,
Rick
-----Original Message-----
From: Dave Watts [mailto:[email protected]]
Sent: Thursday, February 18, 2010 12:03 PM
To: cf-talk
Subject: Re: CFPdfForm
> The first time I hit a page using it, it streamed binary into the web
browser instead of rendering a PDF. The second time I hit it the
> PDF opened in Acrobat.
That's a fairly common issue - I think it's a browser issue, rather
than a server-side issue. That said, you can probably limit it or
avoid it using CFCONTENT as you mention.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330880
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4