It also works for me. XFA forms depend on the XML parser that is not the same depending on the JDK version and you can also plug an external one. That looks like a plausible candidate for errors.
Paulo ----- Original Message ----- From: "DIAZ-OLIVAS, PERLA" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <[email protected]> Sent: Thursday, November 16, 2006 9:47 PM Subject: Re: [iText-questions] Filling an Pdf form (xfa) Paulo, I had a friend run the code on her computer and it worked. So I think it may something with my machine. I think I can try to figure out what's wrong with my machine and its settings. Thanks anyway for your time and help. Perla -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perla Sent: Thursday, November 16, 2006 1:59 PM To: [email protected] Subject: Re: [iText-questions] Filling an Pdf form (xfa) Here is the form. I was trying to set text field in Box 1 with the following code: form2.setField("Field_1", "$50,000"); http://www.nabble.com/file/4195/NewW2.pdf NewW2.pdf Perla Paulo Soares wrote: > > If you post the form maybe I can help you. > > Paulo > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of DIAZ-OLIVAS, PERLA >> Sent: Thursday, November 16, 2006 5:46 PM >> To: [email protected] >> Subject: [iText-questions] Filling an Pdf form (xfa) >> >> I am trying to fill an XFA form created with Designer 7.0., >> but have been unable to. I have the latest version of IText. >> >> >> >> I get a Null Pointer Exception at >> com.lowagie.text.pdf.XfaForm.findDatasetsName when I try to >> set a field in the form. >> >> For Example: >> >> form2.setField("TextField1", "9999999"); >> >> >> >> Is there something wrong with the static pdf form I'm using? >> Does anybody have any idea on how I can remedy this? >> >> >> >> Thanks, >> >> Perla >> >> >> >> > > > Aviso Legal: > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter > informação confidencial ou legalmente protegida. A incorrecta transmissão > desta mensagem não significa a perca de confidencialidade. Se esta > mensagem for recebida por engano, por favor envie-a de volta para o > remetente e apague-a do seu sistema de imediato. É proibido a qualquer > pessoa que não o destinatário de usar, revelar ou distribuir qualquer > parte desta mensagem. > > Disclaimer: > This message is destined exclusively to the intended receiver. It may > contain confidential or legally protected information. The incorrect > transmission of this message does not mean the loss of its > confidentiality. If this message is received by mistake, please send it > back to the sender and delete it from your system immediately. It is > forbidden to any person who is not the intended receiver to use, > distribute or copy any part of this message. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > > -- View this message in context: http://www.nabble.com/Filling-an-Pdf-form-%28xfa%29-tf2644727.html#a7387169 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
