on 01-27-2006 9:14 PM
Hi all!
I wanna know if there exists a way to open a new window without the toolbars using the link to URL element of web dynpro.
If there is posible, i wanna know how.
Thx a lot
Best regards.
Gregory.
Gregory,
Valery Silaev
EPAM Systems
P.S. Search terms on forum search: "url AND tool AND bar", Date range: "All", Result: first
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gregory,
I think this sample code snippet should help you.
public void onActionShowAddressBookPopUp(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionShowAddressBookPopUp(ServerEvent)
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("AddressBookWindow");
// create the AddressbookWindow
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
// set the WindowPosition on the screen
window.setWindowPosition(300,150);
window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
window.removeWindowFeature(WDWindowFeature.MENU_BAR);
window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
// and show the window
window.open();
// Save WindowInstance in Context
wdContext.currentPopupElement().setWindowInstance(window);
//@@end
}
If you need more input let me know.
Regards,
Karthick Eswaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thx Valery n Karthick.
You help me solve my problem.
I use the post that recomends me Valery, but i'm having a javascrip error when the external window is closed the error says:
'childNodes.length' is null or not an object.
This is normal? can i close the external window without this error happends? how can i solve that?
Thx and regards.
Gregory
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.