Skip to Content
0
Former Member
Jan 09, 2007 at 02:40 PM

clear IWDNodeInfo

16 Views

Hi,

i've an application base on the "Welcome" Tutorial (with 2 view).

In the ResultView, i create a dynamic table (in the wdDoModifyView method)

In StartView, i enter my inputfields.

I press "Go" button

In the ResultView, i see my table created dynmically.

I press "Back" button.

In StartView, i enter my inputfields (not the same)

I press "Go" button

-> ERROR

com.sap.tc.webdynpro.progmodel.context.ContextException: DataNodeInfo(ResultView): duplicate name for child node Tab_Node 

Here is the code of my method wdDoModifyView in my ResultView

IWDTransparentContainer rootElement =
			(IWDTransparentContainer) view.getRootElement();

		IWDNodeInfo tabNode =
			wdContext.getNodeInfo().addChild(
				"Tab_Node",
				null,
				true,
				true,
				true,
				false,
				true,
				false,
				null,
				null,
				null);

What should i do ? clear/remove/delete "Tab_Node" and how ?

thanks for all