cancel
Showing results for 
Search instead for 
Did you mean: 

Window position problem

david_fryda2
Participant
0 Kudos

Hi everyone,

I am having problems with window position.

If my portal is set to english language, there are no problem.

If my portal is set to hebrew language, I have troubles with position of windows. Some windows are moved to left, some are moved to right...and some are moved out of the screen.

Code:


IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MyWindow");
IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
window.setWindowPosition(WDWindowPos.CENTER);	
window.open();	  

Can someone help ?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

roberto_tagliento
Active Contributor
0 Kudos

David,

turn down with:

window.setWindowPosition(XXX,YYY);

Could be usefull, find some CODE that give you MAX_WIDTH and MAX_HEIGHT of client browser and after

window.setWindowPosition(func(MAX_WIDTH),func(MAX_HEIGHT));

Message was edited by: Roberto Tagliento

david_fryda2
Participant
0 Kudos

Hi Roberto,

The problem is more complicated.

Lets say that this window has the Navigator panel (on the left of the page). If I remove this navigator panel, I do see the window. But if I leave the navigator , I do not see the window.

The problem occurs only if the portal language is set to hebrew.

I think it is problem coming from the portal or J2EE server.

What do u think ?

Thanks.

roberto_tagliento
Active Contributor
0 Kudos

Really strange and hard to think something.

I think to a BUG and unlucky.

david_fryda2
Participant
0 Kudos

Thanks Roberto for the help.

Regards.

Answers (0)