I have an app which I'm converting to SmartGWT from MyGWT/GXT. It uses an HTMLPane in "page" mode to show external HTML. The URL loaded into the HTMLPane points back to my backend server (the same one where my GWT webapp) is loaded from -- this means the HTML file loaded into the iFrame has the same origin as the GWT app itself. This enables me to write custom javascript to reach into the iFrame DOM and manipulate it while avoiding issues with the browser's Same-Origin security policy.
All this is working fine - except that HTMLPane is blowing away the iframe and reloading it whenever the browser window is resized or the splitter bar separating the HTMLPane from some stuff in a left-side pane is moved.
Why is HTMLPane doing that? Is there some way to avoid it?
HTMLPane has some real advantages - including smooth handling of the resizebar to adjust the size of the iframe. But this reloading issue is a real pain.
All this is working fine - except that HTMLPane is blowing away the iframe and reloading it whenever the browser window is resized or the splitter bar separating the HTMLPane from some stuff in a left-side pane is moved.
Why is HTMLPane doing that? Is there some way to avoid it?
HTMLPane has some real advantages - including smooth handling of the resizebar to adjust the size of the iframe. But this reloading issue is a real pain.
Comment