Skip to Content
0
Former Member
Jan 24, 2007 at 04:48 PM

Binding Property of IWDFileDownload by run time

17 Views

Hi,

currently I work with NW 2004 SP 16. My purpose is to create a FileDownload-UI by

run time. In this case I had to initialize the property of DATA with my URL before I put

the UI into my Container. But if I pass the value I get always the message below:

com.sap.tc.webdynpro.progmodel.context.ContextException: Path does not point to an

attribute, but to com.sap.tc.webdynpro.progmodel.generation.DelegatingView@122d793

My Code:

		IWDTransparentContainer transCon = (IWDTransparentContainer) 
			view.createElement(IWDTransparentContainer.class, "trans");

		IWDFileDownload fileDownload = (IWDFileDownload) 
			view.createElement(IWDFileDownload.class, "fileDownload");

		IWDAttributeInfo info1 = wdContext.getNodeInfo().getAttribute("url");
		
		fileDownload.bindData( info1 );

		transCon.addChild(fileDownload);	

regards,

Sharam