Skip to Content
avatar image
Former Member

Multiple records are not displaying

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Apr 03, 2007 at 04:29 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Apr 03, 2007 at 07:40 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Apr 04, 2007 at 08:12 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 04, 2007 at 10:04 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded