on 07-09-2007 2:15 PM
Hi,
I have 1 main component en 3 seperate components. The main controller has an attribute under the context node which is a list. In the 3 interface controllers i created a same attribute and and these need to point to the attribute in the maincontroller. When i try to map the attribute of the interface controller to the attribute in the main controller, it says: "Context root attributes of interface or configuration controllers cannot be mapped in this version"
What does this mean? How can i map attributes from sub components to a central place (main component)?
much thanks & regards,
Hugo
I dont know why you are making a reference to the sub-components from the main component. But, I think the WD framework will complain if you make a reference in circular manner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add the main component in the used component section(sub-component). Also, in the properties of the interface controller(in the sub-component), add the main controller as the required controller. Now, you will be able to context map the attributes.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok, I have 1 problem if I recall correctly. I also have 1 component ( resource locator) which is used by all the components. I create this component manually and after that set the reference of this component to all other components doing like this:
wdThis.wdACompInstInterface().referenceWebserviceLocatorComponent(wdThis.wdGetWebserviceLocatorCompInstComponentUsage());
wdThis.wdBCompInstInterface().referenceWebserviceLocatorComponent(wdThis.wdGetWebserviceLocatorCompInstComponentUsage());
wdThis.wdCCompInstInterface().referenceWebserviceLocatorComponent(wdThis.wdGetWebserviceLocatorCompInstComponentUsage());
This creates references from the main component to the sub-components. Your sollution implies that the sub-components are gonna make a reference to the main component. If I recall correctly, WD is gonna moan about circular invocation/creation of components or such....
User | Count |
---|---|
91 | |
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.