cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple records are not displaying

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

HI Michal,

I export pdf file to xml file.

It has 3 records.

As you mentioned in your reply, there is some problem in the form layout

I'll try to figure out that.

Anyway thank you so much for your help.

Thanks

Thruna

Former Member
0 Kudos

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

Former Member
0 Kudos

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