Blocked a frame with origin

2017-04-12 Thread David
I am using GWT to process a very old web site. This web site has a lot of iframes. Each iframe has a relative url or '#' for its src. The compiled javascript - *.nocache.js is included in top document head. After a page is loaded, I click a link and the page generate following iframe in ajax

Re: Question on Useability

2017-04-12 Thread Ed
Figured out the problem: iframe.contentDocument.designMode= "On"; Should be off. But still cant figure out sizing of the ifrrame. The container is 100x100 pct. Will continue to poke around. ed On Wed, Apr 12, 2017 at 5:31 PM, Ed wrote: > Hi Jens, > > I made these changes:

Re: Question on Useability

2017-04-12 Thread Ed
Hi Jens, I made these changes: import com.google.gwt.dom.client.IFrameElement; private static final IFrameElement iframe = Document.get().createIFrameElement(); FlowPanel innerBox = new FlowPanel(); innerBox.getElement().appendChild(iframe); public static void setIFrame(IFrameElement ife,

Re: Question on Useability

2017-04-12 Thread Ed
@Jens Thank You I will look into the options On Wed, Apr 12, 2017 at 11:36 AM, Jens wrote: > Well there are two solutions: > > 1.) use an iFrame => opening links inside the iframe should just work. > However the URL won't be displayed in the browsers url bar, maybe you

Re: Question on Useability

2017-04-12 Thread Jens
Well there are two solutions: 1.) use an iFrame => opening links inside the iframe should just work. However the URL won't be displayed in the browsers url bar, maybe you don't want that. And because you mentioned it: The iframe must not have a fixed size, you can stretch it via CSS, an

Re: Compilation of a large GWT application?

2017-04-12 Thread Paul Stockley
For development purposes you could try the following in your .gwt.xml file You many or may not be able to get away with the first setting depending on how you structured your css. In our project we tried to minimize the amount of code generation. We have about 250 uibinder files and 300,000

Can't put breakpoints on specific lines in chrome

2017-04-12 Thread Paul Stockley
When debugging SDM in chrome there are many lines you can't put breakpoints on even though the line number indicates you can. For example, you

Re: Compilation of a large GWT application?

2017-04-12 Thread Marcin Okraszewski
It turns out, AutoBeans generate 250k lines of code! This is compared to 550k written by us. But this is still just a tip of an iceberg. When we dig further into code generation output, it turns out we have overall 1.5 M lines of code generated, so 3x more than we have written! It is mostly

Question on Useability

2017-04-12 Thread Ed
Hi, The attached diagram explains the problem. In summary: When a user clicks in the work area (basic html from server) it takes over the entire screen. I am trying to replace a Frame (Works) with something without fixed sizing and be able to scroll the data within the workarea. The reason

Re: Trouble understanding JsInterop

2017-04-12 Thread Thomas Broyer
On Wednesday, April 12, 2017 at 9:01:37 AM UTC+2, DavidN wrote: > > There is one thing people keep on repeating: > You can only invoke the exported class/method when the gwt app is loaded. > Just like with any asynchronously loading script. For example, the Google Analytics snippet

Re: Debug library code in eclipse

2017-04-12 Thread Thomas Broyer
On Tuesday, April 11, 2017 at 7:17:54 PM UTC+2, Juan Pablo Gardella wrote: > > Using eclipse you don't need do that. Simply include all the projects > (including pom artifact if you have one) and configure by using "workspace > resolution". Check >

Re: Trouble understanding JsInterop

2017-04-12 Thread Philipp
The JsInterop part worked now - in the end it was the missing -generateJsInteropExports and my confusion when to use $wnd and when not. On Tuesday, 11 April 2017 17:30:39 UTC+2, Thomas Broyer wrote: > > > > On Tuesday, April 11, 2017 at 4:53:24 PM UTC+2, Philipp Gloor wrote: >> >> Where do I use

Re: Trouble understanding JsInterop

2017-04-12 Thread David
There is one thing people keep on repeating: You can only invoke the exported class/method when the gwt app is loaded. Is there a GWT supported default way that would allow this ? Otherwise I guess you would need to add a callback mechanism in the EntryPoint (Using JsInterop) On Tue, 11 Apr