cfpdfform

ColdFusion CFPDFFORM does not populate PDF form fields

我的未来我决定 提交于 2019-12-12 18:30:40
问题 I created a quick PDF file with two form fields, first name and last name (or FirstName and LastName), with a Submit button and used the following code to try to populate these fields in a new PDF file: <cfpdfform action="populate" source="#variables.AbsPath#\test.pdf"> <cfpdfformparam name="FirstName" value="foo" /> <cfpdfformparam name="LastName" value="bar" /> </cfpdfform> However, I receive this error: The system has attempted to use an undefined value, which usually indicates a

CFPDFForm Populate Error - java.lang.NullPointerException: Platform, Locale, and Platform Name must not be null

自闭症网瘾萝莉.ら 提交于 2019-12-01 20:58:53
问题 I've been banging my head against the wall trying to figure out the cause of the error below. All I'm doing is running this very simple CFPDFFORM to populate a PDF form. <cfset source = expandPath("Customer.pdf")> <cfpdfform action="populate" source="#source#"> <cfpdfformparam name="Name" value="John Doe"> <cfpdfformparam name="Address" value="123 Test Cir"> <cfpdfformparam name="City" value="Some City"> <cfpdfformparam name="State" value="Some State"> <cfpdfformparam name="Zip" value="11111"

CFPDFForm Populate Error - java.lang.NullPointerException: Platform, Locale, and Platform Name must not be null

ぃ、小莉子 提交于 2019-12-01 19:49:58
I've been banging my head against the wall trying to figure out the cause of the error below. All I'm doing is running this very simple CFPDFFORM to populate a PDF form. <cfset source = expandPath("Customer.pdf")> <cfpdfform action="populate" source="#source#"> <cfpdfformparam name="Name" value="John Doe"> <cfpdfformparam name="Address" value="123 Test Cir"> <cfpdfformparam name="City" value="Some City"> <cfpdfformparam name="State" value="Some State"> <cfpdfformparam name="Zip" value="11111"> <cfpdfformparam name="Phone" value="123-456-7890"> </cfpdfform> I've done a lot of searches and found