on 08-12-2008 6:59 AM
Hi experts,
I have created 10 links in my view.In that, I bind the action to call a modalwindow to display the required UI elements.I used only one modal window.As a result,When am clicking as first link am getting the required view.as well as for 3rd,5th, link... butin 2nd,4th,..am not getting the view.
Thanks in advance
regards,
Kiruba R
Hi Suresh,
When I Click it as first time it is displaying properly.But when i click it for second link or second time (the link),it shows only the title of window.
This is the code i have written for all the links. But the visibility is differ for all the links
wdContext.currentOptionElement().setCompany(WDVisibility.NONE);
wdContext.currentOptionElement().setArea(WDVisibility.NONE);
wdContext.currentOptionElement().setEmpgrp(WDVisibility.NONE);
wdContext.currentOptionElement().setEmpsubgrp(WDVisibility.NONE);
wdContext.currentOptionElement().setPayroll(WDVisibility.NONE);
wdContext.currentOptionElement().setPersubarea(WDVisibility.NONE);
IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("OrgComCode");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition(300, 300);
window.setWindowSize(130,90);
window.setTitle("You can change the CostCenter");
window.show();
wdContext.currentPopupElement().setOrgComWin(window);
regards,
Kiruba.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kiruba raman,
It seems like there is a loop which is running and hiding those even numbered links. Check your code if there is such things. If not please post the code here.
points if useful
Thanks
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Post the logic where you are calling the pop-up window..
Regards,
Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.