24 Sep 2010 7:24 AM #1
Automatic iframe reloading on portlet action
I'm using gwt frames linked to external pages inside portlets.
The thing is that each action on the portlet (minimize, maximize, drag and drop etc.) make the frame reload his content which is crippling my application.
Is it a standard behaviour for portlets ? If yes, how to override it ?
To be thorough, i use a workaround to simulate onLoad events on these iframes in order to make them work with IE. Could it be a problem ?
27 Sep 2010 1:12 AM #2
it seems that this is a standard behaviour for the portlet.
i used the method setUrl() as well as adding the iframe inside the body of the portlet. The results are the same.
Nobody has a hint on this ?
27 Sep 2010 6:08 AM #3
Ok so after a little digging, my problem seems to be firefox related.
When using the css property "display:none" to hide or to drag and drop, firefox automatically reload the iframe.
Is there a way is to use the visibility property instead to hide or show the portlet content ?
i already tried the method portlet.getbody().setVisibilityMode() but it doesn't work.
By mirkoiv in forum Ext 3.x: Help & DiscussionReplies: 8Last Post: 8 Nov 2009, 11:17 PM
By gossi74 in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 13 Oct 2008, 7:03 AM
By magunes117 in forum Ext 1.x: Help & DiscussionReplies: 9Last Post: 28 Sep 2007, 6:59 AM
By ani in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 5 Mar 2007, 9:15 AM
By naveen in forum Ext 1.x: Help & DiscussionReplies: 9Last Post: 26 Feb 2007, 11:00 PM