on 2009 Jan 23 3:01 AM
Hi All,
Can you please let me know the steps that needs to be followed for communication between two Webdynpro components.'
I am using webdynpro component usage and creating the usage on manual. Next mapping the used component interface controller to the main component.
And trying to call wdThis.wdGetusedcompinterface().usedCompmethod();
When I try to activate this code I am getting compiler errors on NWDI Activation...
[javac] symbol : method wdGetFlexInterface ()
[javac] location: interface com.deloitte.component.newhire.healthplan.wdp.IPrivateNew_Hire_HealthPlan
[javac] wdThis.wdGetFlexInterface().refreshFlexComp();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
Why is this error coming up on activation? Am I missing any steps?
Thanks,
Madhavi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhavi.,
As you said that you are getting the said error when you activate the DC in NWDI. That means you are able to successfully deploy and run the application. So, there may not be any missing steps while coding.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go through this blog.
/people/sudhir.gorantla4/blog/2008/02/27/componentization-of-webdynpro-application-in-ce71
Regards
Gaytahri.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am on NWDS 7.0.13 can you please send any documents or help on this version. When I am deploying to my test server I am not having any issues with the code. I am getting this issue only at run time on activation?
And the logs on NWDI are very limited and is just saying compile error...
Any help is highly appreciated!!
Madhavi
Hi Madhavi,
You should check the CBS build log to see the error that are occurring when you do activation.
You can try like this:
Open Development Configurations perspective in NWDS
Go to u2018Activation Requestsu2019 View.
Select you u2018Request IDu2019
Right side in this view, select the tab u2018Activation Resultsu2019
Select and right click on the request -> select Show activation log in CBS.
Here you can get exact details why the build failed.
Sanyev
Edited by: Sanyev Babu on Jan 27, 2009 1:58 AM
Hi Madhavi,
It seems that you are getting an error on the method wdGetFlexInterface(). This is an auto generated method. There might be some problem with the code in your DTR. Can you try deleting the existing project from your workspace (or create a new workspace or try in a different system) and sync the code from the DTR. It might show some errors. then a rebuild might fix the errors.
Regards,
Sanyev
Hi,
I could get rid of that error by deleting the method and recreating the method again. Then did a rebuild of the project and redeployed in the test server the child component is refreshing successfully when I call the method from the Parent.
But again when I activate the code to NWDI the activity is failing and now I get this error:
[wdgen] [Error] com.component.newhire.healthplan.New_Hire_HealthPlan --> Controller New_Hire_HealthPlan [FlexUsage]: Controller has invalid controller usage. Please check the referenced controller or delete the usage.
I checked the usage on the controller and it looks fine. All I did is when I open the controller I clicked on Properties tab and clicked on Add and selected the Child component controller and Added the usage to the Parent Component controller.
When I click on properties it is only adding Interface controller usage dynamically and not the Component controller.
So, I have added that manually by clicking Add in the Properties of the component controller...
Any suggestions on what is making the build failed in the CBS???
Thanks,
Madhavi
Hi Madhavi,
I really suspect that these are inconsistency of the code in your DTR. The error that you are seeing is a build error and should also be there in your local IDE. (Unless the IDE version and the CBS version doesn't match). I would suggest that you create a new workspace, import the track, sync the code and then do a build. I am sure all these errors will be shown in your IDE also. If that doesn't happen. Then there is must be some version mismatch between your IDE and the CBS build server. Your basis team can help you with the version details.
Regards,
Sanyev
Hi Madhavi,
Just go through the following links and check whether you are following the right steps or not:
Regards.
Rajat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.