on 04-03-2007 4:47 PM
Hi,
I have developed an Interactive Form application with Web Dynpro Java(NWDS 2.0.18, WAS 6.40 SP18).
In the view context, I have added 3 records dynamically (wdDoInit) and the context node is binded with datasource property of Interactive Form UI element.
When I run the application, the table is displaying with one record, the other two
records are not displaying.
What is the reason for this problem Or how to resolve this?
Thanks
Sundar
Hi Sundar,
Plz check the Repeat subform property of you subform .
It should be min 1. You should tick the Check box Repeat subform and min count in binding pallet of your data subform.
Thanks,
Atul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
and did you try to generate form as dynamic? I don't know which version of LiveCycle Forms is in ADS for NW04 SP18 but maybe the problem is in ADS.
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sundar,
if your form is static then your add button can't work because form is rendered by ADS and its layout can't change on client. If your form is dynamic then it is rendered on the client by Adobe Reader or Adobe Acrobat.
If you export xml data from pdf file, how many recods are in your table, 3 or 1? If 3 then there is some error in your form layout. If 1 then there is some error in your WebDynpro application.
You can export xml data from form in menu of Adobe Reader or by javaScript:
xfa.host.exportData("",0);
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sundar,
do you have checked property "Repeat row for each data item" on the tab Object->Binding for the data row of your table?
Is property singleton of your context node for table in Developer Studio set to false?
Do you generate adobe form as dynamic?
For this, you must inser following code into method wdDoModifyView if yu want dynamic adobe form:
if(firstTime) {
IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("YOUR FORM");
iForm.setDynamicPDF(true);
}
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michal,
Thanks for your reply.
ItemsTable (subform) is set to Flow Content and Flow Direction to Table.
ItemsTableRows(subform) is set to Flow Content and Flow Direction to Table Row and
Repeat subform for each data item chceckbox is checked.
I changed singleton property of context node for table to false and it doesn't help.
It's not a dynamic form.
I have add button in the interactive form to add empty records dynamically in the table this functionality is working fine in the PDF Preview but it is not working when I run the
application.
Thanks
Sundar
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.