on 01-24-2007 4:48 PM
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
Sorry, my path was wrong:
IWDAttributeInfo info1 =
wdContext.getNodeInfo().getChild("BAPI_GLOBAL_STRUC_FROM_R3").getChild("Output")
.getChild("Glob_Struc").getAttribute("Url_Thumbnail");
regards,
Sharam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.