on 04-27-2006 3:38 PM
Hello,
i have 2 DCs with a Webdynpro, the Webdynpro in the first DCs is a reusable POPUP.
Now i open in the second DCs(WD) the POPUP and if the POPUP closing it call a event in the second DCs(WD) for send the selected information.
My problem is how can i send parameter to the POPUP, when i open it?
THX
Hi,
Refer this pdf
Regards,
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
its been some time since i worked on this and am penning down the steps that i followed.
1. Create a interface view and expose the same as public part.
2. consume the public part in the second DC.
3. add the view to the controller (In the properties tab add the interface view and controller component)
4. add the interface to the view and add the view to the window or the viewset (based on the requirement).
step 3 will have the first component visible in the first component.
hope that helps.
Regards,
S.Divakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
In the Popup InterfaceController, create a method, lets say initializeView(initParams), and call it just before opening the popup using :
IExternalPopupCompViewInterface popupIntrf = wdThis.wdGetPopupCompInstInterface();
popupIntrf.initializeView(initParams);
Hope this helps,
Laurent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
THX for your answer.
I have not direct a popup-window.
it is for a example.
I will call a funktion to set a parameter, befor i call window.open()
// look for GIDsearchWindow
IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("AddressbookWindow");
//create the "AddressbookWindow"
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
//set the window position on the screen
window.setWindowPosition(150, 150);
//and show the window
window.open();
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.