Skip to Content
Former Member
Jul 02, 2007 at 02:59 PM

Issue with Table


I have an view & window..Window has the node called Master which is mapped to view context node as "master"..

Now I want this data to be passed to another table in the view called "Target".

<b>Here is the code:</b>

  IPrivateDialogView.ITargetNode TargetNode = wdContext.nodeTarget();
  IPublicHRDashboard.IMasterNode masterNode = wdThis.wdGetMYController().wdGetContext().nodeMaster();
  int size = masterNode.size();
  for (int i = 0; i <= size; i++)
   IPrivateDialogView.IMasterElement masterElement = wdContext.nodeMaster().getMasterElementAt(i);

   IPrivateDialogView.ITargetNode node =  wdContext.nodeTarget();

   IPrivateDialogView.ITargetElement element = node.createTargetElement();
   WDCopyService.copyCorresponding(masterElement, element);
 catch(Exception e)

<b>My issue is,</b> if i display the Target node in a table, only one Row is repeating everytime.

But if i display the Master node in a table UI element, i can see all the records properly.

What is the issue in my code...