Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem clearing the context node of a table

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.

Former Member replied

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
  }

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question