HTMLpane reloads every time the browser window gets resized

97 views
Skip to first unread message

wwwebrat

unread,
Mar 14, 2012, 4:57:06 AM3/14/12
to gwt...@googlegroups.com
Hi!

First of all: Great work! Your code really helped me to get started with GWT / SmartGWT and GWT-Platform. Thank you!

Did you ever try to embed another webpage into the content-slot of the application. I've tried to achieve this with an HTMLpane. 
But there is a big problem in my situation:
Everytime the browserwindow gets resized (maximized or minimized, smaller or bigger) the content of the HTMLpane gets reloaded completely. That means that it always shows the start-URL which is given the HTMLpane at the beginning.

The Code of the view is like this:
htmlPane2.setShowEdges(true);  
htmlPane2.setContentsURL("http://www.wikipedia.com/");  
htmlPane2.setContentsType(ContentsType.PAGE);
htmlPane2.setRedrawOnResize(false);
panel.setRedrawOnResize(false);
panel.addMember(htmlPane2);
...
}
@Override
public Widget asWidget() {
  return panel;

Can you reproduce this issue? 
What do you think the reason for this could be?

Greetings
wwwebrat

Rob

unread,
Mar 15, 2012, 6:54:11 PM3/15/12
to gwt-cx
Hi,

Try posting on the Smart GWT forum:

-> http://forums.smartclient.com/forumdisplay.php?f=14

Cheers
Rob

On Mar 14, 7:57 pm, wwwebrat <wwweb...@gmail.com> wrote:
> Hi!
>
> First of all: Great work! Your code really helped me to get started with
> GWT / SmartGWT and GWT-Platform. Thank you!
>
> Did you ever try to embed another webpage into the content-slot of the
> application. I've tried to achieve this with an HTMLpane.
> But there is a big problem in my situation:
> Everytime the browserwindow gets resized (maximized or minimized, smaller
> or bigger) the content of the *HTMLpane gets reloaded completely*. That

wwwebrat

unread,
Mar 16, 2012, 3:40:47 AM3/16/12
to gwt...@googlegroups.com
Hi Rob
 
thx for your answer
I already did... but got no reaction yet.
 
Bye
wwwebrat
Reply all
Reply to author
Forward
0 new messages