• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

the output of DialogBox is very strange

 
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to show a DialogBox by click a button, the code is as follow:



the SimpleSearchResultPanel is just a DialogBox as follow:


but when the dialogBox is show up, it is very strange with some unknown line show (see attached), what is the problem come from?
the application is run in IE version 8
panel.png
[Thumbnail for panel.png]
strange output of DialogBox
 
peter tong
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
out of my surprise, even using the stockwatcher sample code and add a button to show the DialogBox also has this problem

StockWatcher.java in GWT tutorial


the dialogbox1 is just a DialogBox object as follow:


before click the show button, everything is normal, the DialogBox is not shown yet.
After click the show button, the DialogBox shown is very strange as attached.
BEFORE.JPG
[Thumbnail for BEFORE.JPG]
before dialog box is shown
After.JPG
[Thumbnail for After.JPG]
after dialog box is shown
 
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter,

I think the problem is related to the theme you have inherited. are you using any theme?? ( check your module.gwt.xml)
Also, use firebug to inspect the dialogbox element. The dialog box is right here but the styles are creating issues.

hope this helps.

Thanks
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!