Skip to Content
0
Former Member
Aug 01, 2008 at 07:31 AM

Dynamic Table - Values disappears from layout

15 Views

Hi,

Working Environment:

WebDynpro Java and Adobe Interactive form

NWDS Studio: Version: 7.0.12 Adobe Live Cycle Designer: Version: 7.1 Adobe Reader: Version: 7.0.9 Server : SP13

Scenario:

To Design an Adobe Interactive form with only a single dynamic table(in second body page).

Problem:

While entering values in the row fields using mouse navigation, the values entered in previous fields disappears, including the 'Remove Row' button.\

The values disappears when select the next cell in the row using mouse.

The code I have used to set the form as Dynamic :

public static void wdDoModifyView(IPrivateDynTableCompView wdThis, IPrivateDynTableCompView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
  {
    //@@begin wdDoModifyView
	if(firstTime)
	{
		IWDInteractiveForm travelform = (IWDInteractiveForm)view.getElement("InteractiveForm");
		
		IWDController intformctlr = travelform.getView();		
		IWDPDFDocumentInteractiveFormContext travelformctxt = WDPDFDocumentFactory.getDocumentHandler(intformctlr,"InteractiveForm").getDocumentContext();
		travelformctxt.setDynamic(true);		
	}
    //@@end
  }

Note:

-> If the table is in first body page of the form, I don't get this problem.

-> And also I get this problem only when I use mouse for navigation, not with TAB key.

Any one please tell me, where the problem could be?

Thanks,

Prabhakar.