| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Within my online application, I have a pdf form that is auto generated and displayed to the user in the browser. My problem is that the populated form fields display as blank - however if you click in the blank field the data does in fact display. It will display only one field at a time. I do have the properties on each form field set to visible in the pdf. his form fields were created using Adobe Acrobat professional 8. I have mulitple reports that are written this way generated using Adobe Acrobat 5 without problem. (java served on tomcat) |
|
#2
| |||
| |||
| You don't mention ANYTHING about the technology/software/solution you have employed on the server to fill in the fields - but given what you've written I'll take a wild guess. Whatever you are using on the server is NOT anywhere current on the PDF file format and isn't properly writing the necessary "form appearances" when it fills the fields _OR_ sets the necessary "needs appearances generated for me on the client" flag. |
|
#3
| |||
| |||
| I am using the etymon pj.jar as the java class library to populate the pdf document. Development enviornment: Java 1.5 pj.jar v1.3.4 Adobe Acrobat Professional v8 Deployment in Apache Tomcat 6.0 The java code looks like this when populating one field: Hashtable<PjName, PjString> ht = fieldsHt.get("s1_other").getHashtable(); ht.put(new PjName("T"), new PjString("s1_other" + "_" + i)); PjDictionary newDict = new PjDictionary(ht); pdf.updateFieldValue(fieldsHt.get("s1_other"), newDict, "X"); |
|
#4
| |||
| |||
| Then you should check with their tech support since we can't help you with that product on the ADOBE forums... And I HOPE that Acrobat isn't installed on the server... |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.