on 06-22-2005 7:01 AM
Hi Experts ,
I want to know whether I can transfer data from calling DC to called DC . eg. If I Click on a button in calling DC , I want to tranfer this information to called DC .
If it is possible , what kind of coding is required?
Thanks in advance
Hi
well you can transfer data using the interface controller. You can either define a method in the interface controller of the called component with the required parameters as arguments or you could do a context mapping.
After defining a public part in the called DC , add it as a used DC in the calling DC. Then on the Action onButtonclick() make a call to the method say something like
wdContext.wdget<InterfaceController>.calledMethod();
In the called DC you can open up the window with some code like
IWDWindowInfo winInfo = wdComponentAPI.getComponentInfo().findInWindows("WD_CalledWindow");
IWDWindow win = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(winInfo,true);
win.open();
Well let me know if the information was helpful or do u still require further information.
regards
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. You can expose DC1 as a publicpart to DC2
2. Use the Dc1 public part in Dc2
Please go through the docs on JDI in SDN for more
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 |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.