PDA

View Full Version : PDF in gxt-window: overlapping issue



takayser
29 Oct 2010, 6:30 AM
See attached screenshot, 'focus' is set to the one without pdf.


public void onModuleLoad() {
Window window = new Window();
window.setUrl("http://www.admin.ch/ch/d/sr/3/311.0.de.pdf");
window.show();

window = new Window();
window.show();
}

sven
29 Oct 2010, 6:31 AM
This is not a bug. You need to enable shimming. As first line of your onModuleLoad you need to call
GXT.useShims= true;

sven
29 Oct 2010, 6:35 AM
Shims add an iframe in between and so makes it work. Thats the only known solution for this.

takayser
29 Oct 2010, 6:41 AM
hmm... works more or less in IE, no changes in chrome and FF

sven
29 Oct 2010, 6:52 AM
http://support.mozilla.com/tiki-view_forum_thread.php?comments_parentId=592741&forumId=1

I fixed that locally already, thats why it still worked for me. I will try to get that into GXT 2.2.1

takayser
29 Oct 2010, 6:54 AM
ok, thanks for your work! (hope you can fix the chrome issue too)