| Subcribe via RSS

GWT 2.0 TabLayoutPanel display problem with Internet Explorer IE8

January 14th, 2010 | No Comments | Posted in Uncategorized

The Google GWT TabLayoutPanel is working fine on Chrome and Firefox but currently on IE8 only the first tab is visible. I ran into this problem a few days ago. But as always with such kinds of problems in software development you’re probably not the first one. The issue shall be fixed in the next Google GWT release 2.0.1. Until then you can add

.gwt-TabLayoutPanelTab { float: left; }

to your CSS stylesheet.

TabLayoutPanel not working on IE8
Issue 4447: TabLayoutPanel tabs don’t line up properly on IE

URL encoding problems with GWT running on Tomcat

January 14th, 2010 | No Comments | Posted in Uncategorized

I ran into problems with a GWT application for which I use the OpenID4Java library to provide a simple one click login for users with existing accounts at Google, Yahoo or other OpenID providers. Everything worked fine on the embedded Jetty server running in the GWT development mode.

In GWT development mode I had no problems signing in with my Google account. When running the application on Tomcat I got the following error: “Local signature verification failed” from the OpenID4Java ConsumerManager although I received a positive auth response and Google delivers my name and email address of my Google account.

The problem was a special character, a german umlaut, in my name which was not decoded properly with the correct character encoding. Because of this wrong URL encoding the calculated signature in the OpenID4Java Association was different from the original signature.

Adding the attribute URIEncoding=”UTF-8″ to the connector
element in Tomcat’s server.xml explicitly directs Tomcat to use UTF-8 character encoding instead of its default (ISO-8859-1) and fixed the problem.

Tomcat and UTF 8 encoding
Apache Tomcat Configuration Reference

Google GWT Application shows blank page in IE8

January 12th, 2010 | No Comments | Posted in Uncategorized

I wanted to try a GWT application based on the new layout classes introduced in Google Web Toolkit 2.0 with the Internet Explorer 8. To my surprise the IE 8 showed only an empty page. Switching to IE7 standards mode with the following meta tag solved the problem.

<meta http-equiv="X-UA-Compatible" content="IE=7"/>

If you know the reason for this behavior please leave a comment.

VIRUS (Exploit.PDF-9669) with clamav 0.92.1 on Ubuntu 8.04 Hardy Heron

January 9th, 2010 | No Comments | Posted in Uncategorized

Solution to the problem:

apt-get remove libclamav3 clamav and every other dependency with apt-get autoremove and download and install all "*0.95.3*hardy2*.deb" packages from http://archive.ubuntu.com/ubuntu/pool/universe/c/clamav/ with dpkg -i libclamav*; dpkg -i install clamav*.

Have a nice weekend.