on 04-15-2008 1:48 PM
Hi,
Please let me know how to create a pop-up in java webdynpro application.I need to display the description of the field in a separate pop-up while placing cursor on it.
Thanks,
Kumar.
Hi,
Check out this link...
http://help.sap.com/saphelp_nw04/helpdata/en/b0/184540631d6f13e10000000a1550b0/content.htm
hope it help..
Regards,
*Arun
Edited by: Arunagiri A on Apr 15, 2008 2:55 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
The above mentioned answers are sufficient enough to resolve your problem. If your problem is solved please close this thread.
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
If you actually need to show only the description of the field, when the cursor is placed on the Label or so, Just use the "Tool tip" Property of the UI Element where you can enter the description text rather than taking the pain of creating pop up widow and using events....
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks & Regards
Ramesh
Edited by: Armin Reichert on Apr 15, 2008 6:07 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create new window and place the view u want displat in tht window.
on action of click of something, write the code to open tht window as popup.
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("W_popup");
IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
window.setWindowPosition(50, 200);
window.open();
//
wdThis.wdGetC_iprchecklistController().wdGetContext().currentVn_popupElement().setVa_windowsinstance(window);
Where W_popup is the window name.
and Va_windowsinstance is the value attribute of type IWDWindow.
Regards,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a view with all the controls you want as part of the popup
Embed this view to a window
Once the above step is done do the following in the action handler
IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("EmailWindow");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
//Assignning the window handle to a context variable for later use
wdContext.currentContextElement().setWindowHandle(window);
window.show();
Use the following code to close the popup window
//This is refered to the context attribute where the window handle is stored
IWDWindow window = (IWDWindow)wdContext.currentContextElement().getWindowHandle();
window.destroyInstance();
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.