Hello,

Since several days I tried to populate a form created with Adobe LiveCycle Designer 8.2.

   * _what I've done :_


- A template created from a datasource ( xsd file), a form with [0.. n] occurrences of dataList. Each dataList has got datas. - In LiveCycle I parameterized the form in order that an 'occur' element is created in the xfa form
- Attributes of 'occur' element are : initial="3", min="1", max="10".

   * _what I obtain :_


- I merge my data from an xml file with the method Acrofields.mergeXfaData(Node n). All it's ok at this point.
- But I want to have more information on the occur element :

With Itext, I don't understand how the occur element is used. After several tests, I conclude that iText use only the 'initial' attribute : If i've got 2 dataList in xml file, i've got 1 blanked form in my final PDF,
and if I've got more than 3 dataLists, there are not in my form.

/In other words, is it possible to fit the occurence of my form with the number of dataLists in my xml file ?/

   * _ what i've tried :_

- Manipulate the document, the dom document retrieved with myXfaForm.getDomDocument, and change the attributes value of 'occur', and after merge datas : KO .
- Remove, after the merging, all field without value : KO.

Marc.

PS: Thanks a lot for your future answer. Your API is very powerful !!! Merci d'avance.




-----------------------------------------------------------

Un geste responsable aujourd hui pour preserver demain.
N imprimez ce message que si necessaire.



Please, consider the environment before printing this email.

------------------------------------------------------------
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to