Hi,
I have an HTMLPane as a member for a VLayout, which in turn is a member itself of a Canvas' children collection.
I've initially configured the HTMLPane as follows:
Whenever I call hide() and then show() on the container Canvas, the HTMLPane reloads itself from the initial contentsURL ...
The problem I have with this, is that the HTMLPane is also being manipulated directly to perform HTTP POST
queries and re-issuing the initial HTTP GET, resets the current state in which that IFRAME was, before hide() was called.
Is there a way to not have the HTMLPane re-load itself from the server upon show() being called ?
Could I overload hide() and show() and cheat hide() so that it sizes/moves the HTMLPane out
of the browser viewport without actually hiding it?
Thanks for you help!
I have an HTMLPane as a member for a VLayout, which in turn is a member itself of a Canvas' children collection.
I've initially configured the HTMLPane as follows:
Code:
var htmlPane = HTMLPane.create ({ ID : 'myHtmlPane', width : 200, height : 200, autoDraw : true, showCustomScrollbars : false, httpMethod : 'GET', contentsType : 'page', contentsURL : 'http://my-app-url/' });
The problem I have with this, is that the HTMLPane is also being manipulated directly to perform HTTP POST
queries and re-issuing the initial HTTP GET, resets the current state in which that IFRAME was, before hide() was called.
Is there a way to not have the HTMLPane re-load itself from the server upon show() being called ?
Could I overload hide() and show() and cheat hide() so that it sizes/moves the HTMLPane out
of the browser viewport without actually hiding it?
Thanks for you help!
Comment