cancel
Showing results for 
Search instead for 
Did you mean: 

Problem clearing the context node of a table

Former Member
0 Kudos

Hi,

I have problem to clear the context node which is mapped to a model node in the custom contoller.

I have used the invalidate() method and .reset() method but none of them work.

Is this anything to do with the leadselection of the node.

Accepted Solutions (1)

Accepted Solutions (1)

former_member540174
Participant
0 Kudos

To empty out my model nodes I call


  public void initializeNode( com.sap.tc.webdynpro.progmodel.api.IWDNode node )
  {
    //@@begin initializeNode()
	for (int i = node.size(); i > 0; i--)
	{
		node.removeElement(node.getElementAt(i - 1));
	}
    //@@end
  }

Former Member
0 Kudos

Hi diane,

Your solution works perfect for me.Thanks a lot.

regards

swathi

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Swathi,

What is the code u r using and in which method ?

Regards,