Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 17, 2008 at 04:59 PM

    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
      }
    
    

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 17, 2008 at 04:56 PM

    hi Swathi,

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

    Regards,

    Add comment
    10|10000 characters needed characters exceeded