on 2005 Aug 11 6:46 AM
Hello All,
I have the following hierarcy of nodes/attributes in a view context:
->parentNode
->childNode
->childNodeAttribute
->parentNodeAttribute
Here parentNodeAttribute & childNodeAttribute are of type String.
<b>In wdDoInit:</b> I have created 1-1 element each of both parentNode & childNode. Also i have set the parentNodeAttribute & childNodeAttribute with some text in wdDoInit method.
<b>In wdDoModify:</b> I need to bind childNode to the DataSource of table. I tried
mytable.bindDataSource(wdContext.getNodeInfo().getChild("parentNode.childNode"));
<b>I get the following error:</b>
<i>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: DataSource attribute of table not valid. [Table Table in view class com.sap.tc.webdynpro.progmodel.generation.DelegatingView]</i>
<b>Q0. Sol to this problem.</b>
<b>Q1. Are there any constraints in the type of node for binding ?</b>
Regards,
Aayush
Request clarification before answering.
Hi Aayush,
Try
mytable.bindDataSource("parentNode.childNode");
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.