<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>off-topic &#187; Uncategorized</title>
	<atom:link href="http://off-topic.biz/en/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://off-topic.biz/en</link>
	<description>A collection of off-topic posts</description>
	<lastBuildDate>Thu, 07 Apr 2011 09:16:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Fill test data into existing database with JDO</title>
		<link>http://off-topic.biz/en/fill-test-data-into-existing-database-with-jdo/</link>
		<comments>http://off-topic.biz/en/fill-test-data-into-existing-database-with-jdo/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 09:15:20 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=166</guid>
		<description><![CDATA[I wanted to fill test data into an existing database with many foreign keys. These foreign keys were somewhat unusual because the tables were not linked via their primary keys but via a combination of other fields. Since I did &#8230; <a href="http://off-topic.biz/en/fill-test-data-into-existing-database-with-jdo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to fill test data into an existing database with many foreign keys. These foreign keys were somewhat unusual because the tables were not linked via their primary keys but via a combination of other fields. Since I did not want to rebuild all foreign keys in my classes with JDO annotations I searched for a way to disable the checking of the keys and constraints. The usual</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SET</span> foreign_key_checks <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span>;</pre></div></div>

<p>did not work. Also disabling the keys for every table did not work and I still got the foreign key constraint violation error messages. After searching for some time I found a very simple solution. One can append the directive <code>foreign_key_checks = 0</code> to the connection URL in the <code>jdoconfig.xml</code> config file:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;javax.jdo.option.ConnectionURL&quot;</span></span>
<span style="color: #009900;">          <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;jdbc:mysql://localhost:3306/db_name?sessionVariables=FOREIGN_KEY_CHECKS=0&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/fill-test-data-into-existing-database-with-jdo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gwt-maven-plugin for GWT 2.1.0</title>
		<link>http://off-topic.biz/en/gwt-maven-plugin-for-gwt-2-1-0/</link>
		<comments>http://off-topic.biz/en/gwt-maven-plugin-for-gwt-2-1-0/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 10:33:09 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=110</guid>
		<description><![CDATA[Since the second milestone of GWT has been released (Google Web Toolkit 2.1.0 M2 Downloads) I wanted to give it a try and check some of the new features, especially the new MVP framework. In the past I used gwt-presenter &#8230; <a href="http://off-topic.biz/en/gwt-maven-plugin-for-gwt-2-1-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since the second milestone of GWT has been released (<a href="http://code.google.com/webtoolkit/download_2_1_m2.html">Google Web Toolkit 2.1.0 M2 Downloads</a>) I wanted to give it a try and check some of the <a href="http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html">new features</a>, especially the new MVP framework. In the past I used <a href="http://code.google.com/p/gwt-presenter/">gwt-presenter</a> and <a href="http://code.google.com/p/gwt-dispatch/">gwt-dispatch</a> and wanted to use <a href="http://code.google.com/p/gwt-platform/">GWTP (gwt-platform)</a> for one of my next projects. But now I will try the new MVP framework included in GWT 2.1 first (see <a href="http://code.google.com/webtoolkit/articles/mvp-architecture.html#app_controler">Large scale application development and MVP</a>).</p>
<p>I had some trouble with the current version 1.2 of the <a href="http://mojo.codehaus.org/gwt-maven-plugin/">Google Web Toolkit Maven Plugin</a> since it apparently does not support some of the 2.1.0 features. After google-ing for some minutes I found a repository for both the GWT 2.1.0.M2 SDK and a special (ahem) 1.3.1.google version for the Maven plugin:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>com.google.gwt<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>gwt-servlet<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1.0.M2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;scope<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>runtime<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/scope<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>com.google.gwt<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>gwt-user<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1.0.M2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;scope<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>provided<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/scope<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;plugin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.codehaus.mojo<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>gwt-maven-plugin<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1.3.1.google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/plugin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;repository<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;releases<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;enabled<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/enabled<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/releases<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;snapshots<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;enabled<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/enabled<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/snapshots<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>gwt-dev-release<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>http://google-web-toolkit.googlecode.com/svn/2.1.0.M2/gwt/maven/<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/repository<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;pluginRepository<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;releases<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;enabled<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/enabled<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/releases<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;snapshots<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;enabled<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/enabled<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/snapshots<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>gwt-dev-release<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>http://google-web-toolkit.googlecode.com/svn/2.1.0.M2/gwt/maven/<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/pluginRepository<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/gwt-maven-plugin-for-gwt-2-1-0/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Eclipse hangs at startup showing only the splash screen</title>
		<link>http://off-topic.biz/en/eclipse-hangs-at-startup-showing-only-the-splash-screen/</link>
		<comments>http://off-topic.biz/en/eclipse-hangs-at-startup-showing-only-the-splash-screen/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 11:27:20 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=99</guid>
		<description><![CDATA[Today my Eclipse Galileo hung at start up. After trying some tricks such as eclipse -clean, or eclipse -debug -console, searching for hints in the log files, removing xulrunner from the java.library.path environment, deleting some of the most recent history &#8230; <a href="http://off-topic.biz/en/eclipse-hangs-at-startup-showing-only-the-splash-screen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today my Eclipse Galileo hung at start up. After trying some tricks such as <code>eclipse -clean</code>, or <code>eclipse -debug -console</code>, searching for hints in the log files, removing xulrunner from the java.library.path environment, deleting some of the most recent history files and so on I found the solution. In your workspace directory perform the following steps:</p>
<ol>
<li>cd .metadata/.plugins</li>
<li>mv org.eclipse.core.resources org.eclipse.core.resources.bak</li>
<li>Start eclipse. (It should show an error message or an empty workspace because no project is found.)</li>
<li>Close all open editors tabs.</li>
<li>Exit eclipse.</li>
<li>rm -rf org.eclipse.core.resources (Delete the newly created directory.)</li>
<li>mv org.eclipse.core.resources.bak/ org.eclipse.core.resources (Restore the original directory.)</li>
<li>Start eclipse and start working. :-)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/eclipse-hangs-at-startup-showing-only-the-splash-screen/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
		<item>
		<title>Google GWT SplitLayoutPanel: How to style the Splitters</title>
		<link>http://off-topic.biz/en/google-gwt-splitlayoutpanel-how-to-style-the-splitters/</link>
		<comments>http://off-topic.biz/en/google-gwt-splitlayoutpanel-how-to-style-the-splitters/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 16:08:26 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=92</guid>
		<description><![CDATA[I wanted to change the default style of the splitters of the new Google GWT SplitLayoutPanel. Unfortunately the height and the width of the VDragger and the HDragger are hardcoded. In the source code one can find the following comments: &#8230; <a href="http://off-topic.biz/en/google-gwt-splitlayoutpanel-how-to-style-the-splitters/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to change the default style of the splitters of the new Google GWT SplitLayoutPanel. Unfortunately the height and the width of the VDragger and the HDragger are hardcoded. In the source code one can find the following comments:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"> <span style="color: #339933;">*</span> NOTE<span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">This</span> <span style="color: #000000; font-weight: bold;">class</span> is still very <span style="color: #000000; font-weight: bold;">new</span>, and its <span style="color: #000000; font-weight: bold;">interface</span>
 <span style="color: #339933;">*</span> may change without warning. <span style="color: #006633;">Use</span> at your own risk.</pre></div></div>

<p>and</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">*</span> TODO<span style="color: #009900;">&#40;</span>jgw<span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span>
 <span style="color: #339933;">*</span> <span style="color: #339933;">-</span> RTL Support.
 <span style="color: #339933;">*</span> <span style="color: #339933;">-</span> implement insert<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.
 <span style="color: #339933;">*</span> <span style="color: #339933;">-</span> Come up with a decent way to specify splitter style and size.</pre></div></div>

<p>OK, I use it at my own risk and use a not so decent way to change the style of the splitters:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">interface</span> Binder <span style="color: #000000; font-weight: bold;">extends</span> UiBinder <span style="color: #339933;">&lt;</span>SplitLayoutPanel, MyView<span style="color: #339933;">&gt;</span> <span style="color: #009900;">&#123;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> Binder binder <span style="color: #339933;">=</span> GWT.<span style="color: #006633;">create</span><span style="color: #009900;">&#40;</span>Binder.<span style="color: #000000; font-weight: bold;">class</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
...
<span style="color: #000000; font-weight: bold;">public</span> MyView <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  initWidget <span style="color: #009900;">&#40;</span>binder.<span style="color: #006633;">createAndBindUi</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
...
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> setVDraggerHeight <span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> height<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  SplitLayoutPanel p <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>SplitLayoutPanel<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">getWidget</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">int</span> widgetCount <span style="color: #339933;">=</span> p.<span style="color: #006633;">getWidgetCount</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> widgetCount<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    Widget w <span style="color: #339933;">=</span> p.<span style="color: #006633;">getWidget</span> <span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>w.<span style="color: #006633;">getStyleName</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">equals</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;gwt-SplitLayoutPanel-VDragger&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      w.<span style="color: #006633;">setHeight</span> <span style="color: #009900;">&#40;</span>height<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>&rarr; <a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=4620">Issue 4620: Hardcoded styling in SplitLayoutPanel</a></p>
]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/google-gwt-splitlayoutpanel-how-to-style-the-splitters/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GWT 2.0 TabLayoutPanel display problem with Internet Explorer IE8</title>
		<link>http://off-topic.biz/en/gwt-2-0-tablayoutpanel-display-problem-with-internet-explorer-ie8/</link>
		<comments>http://off-topic.biz/en/gwt-2-0-tablayoutpanel-display-problem-with-internet-explorer-ie8/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 10:14:22 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=89</guid>
		<description><![CDATA[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 &#8230; <a href="http://off-topic.biz/en/gwt-2-0-tablayoutpanel-display-problem-with-internet-explorer-ie8/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>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&#8217;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</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.gwt-TabLayoutPanelTab</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>to your CSS stylesheet.</p>
<p>&rarr; <a href="http://groups.google.de/group/google-web-toolkit-contributors/browse_thread/thread/53e962a8c77755b3/8a00381cbf32b258">TabLayoutPanel not working on IE8</a><br />
&rarr; <a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=4447">Issue 4447: TabLayoutPanel tabs don&#8217;t line up properly on IE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/gwt-2-0-tablayoutpanel-display-problem-with-internet-explorer-ie8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URL encoding problems with GWT running on Tomcat</title>
		<link>http://off-topic.biz/en/url-encoding-problems-with-gwt-running-on-tomcat/</link>
		<comments>http://off-topic.biz/en/url-encoding-problems-with-gwt-running-on-tomcat/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 09:31:46 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=83</guid>
		<description><![CDATA[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 &#8230; <a href="http://off-topic.biz/en/url-encoding-problems-with-gwt-running-on-tomcat/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p>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: &#8220;Local signature verification failed&#8221; from the OpenID4Java ConsumerManager although I received a positive auth response and Google delivers my name and email address of my Google account.</p>
<p>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.</p>
<p>Adding the attribute URIEncoding=&#8221;UTF-8&#8243; to the connector<br />
element in Tomcat&#8217;s server.xml explicitly directs Tomcat to use UTF-8 character encoding instead of its default (ISO-8859-1) and fixed the problem.</p>
<p>&rarr; <a href="http://blog.sidu.in/2007/05/tomcat-and-utf-8-encoded-uri-parameters.html">Tomcat and UTF 8 encoding</a><br />
&rarr; <a href="http://tomcat.apache.org/tomcat-6.0-doc/config/http.html">Apache Tomcat Configuration Reference</a></p>
]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/url-encoding-problems-with-gwt-running-on-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google GWT Application shows blank page in IE8</title>
		<link>http://off-topic.biz/en/google-gwt-application-shows-blank-page-in-ie8/</link>
		<comments>http://off-topic.biz/en/google-gwt-application-shows-blank-page-in-ie8/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 13:43:52 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=78</guid>
		<description><![CDATA[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 &#8230; <a href="http://off-topic.biz/en/google-gwt-application-shows-blank-page-in-ie8/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
I wanted to try a GWT application based on the new layout classes introduced in <a href="http://code.google.com/webtoolkit/">Google Web Toolkit</a> 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.
</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;meta</span> <span style="color: #000066;">http-equiv</span>=<span style="color: #ff0000;">&quot;X-UA-Compatible&quot;</span> <span style="color: #000066;">content</span>=<span style="color: #ff0000;">&quot;IE=7&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

<p>
If you know the reason for this behavior please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/google-gwt-application-shows-blank-page-in-ie8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VIRUS (Exploit.PDF-9669) with clamav 0.92.1 on Ubuntu 8.04 Hardy Heron</title>
		<link>http://off-topic.biz/en/virus-exploit-pdf-9669-with-clamav-0-92-1-on-ubuntu-8-04-hardy-heron/</link>
		<comments>http://off-topic.biz/en/virus-exploit-pdf-9669-with-clamav-0-92-1-on-ubuntu-8-04-hardy-heron/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 11:12:59 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=74</guid>
		<description><![CDATA[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.]]></description>
			<content:encoded><![CDATA[<p>Solution to the problem:</p>
<p><code>apt-get remove libclamav3 clamav</code> and every other dependency with <code>apt-get autoremove</code> and download and install all <code>"*0.95.3*hardy2*.deb"</code> packages from <a href="http://archive.ubuntu.com/ubuntu/pool/universe/c/clamav/">http://archive.ubuntu.com/ubuntu/pool/universe/c/clamav/</a> with <code>dpkg -i libclamav*; dpkg -i install clamav*</code>.</p>
<p>Have a nice weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/virus-exploit-pdf-9669-with-clamav-0-92-1-on-ubuntu-8-04-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem with Ubuntu 9.10 &#8220;Karmic&#8221; and Eclipse 3.5 Galileo</title>
		<link>http://off-topic.biz/en/problem-with-ubuntu-9-10-karmic-and-eclipse-3-5-galileo/</link>
		<comments>http://off-topic.biz/en/problem-with-ubuntu-9-10-karmic-and-eclipse-3-5-galileo/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 11:31:56 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=66</guid>
		<description><![CDATA[After upgrading to Ubuntu 9.10 &#8220;Karmic&#8221; I had some problems using Eclipse 3.5 &#8220;Galileo&#8221;. Some buttons did not show any reaction, especially the installation of new plugins or the update of already installed plugins did not work. The solution was &#8230; <a href="http://off-topic.biz/en/problem-with-ubuntu-9-10-karmic-and-eclipse-3-5-galileo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
After upgrading to Ubuntu 9.10 &#8220;Karmic&#8221; I had some problems using Eclipse 3.5 &#8220;Galileo&#8221;. Some buttons did not show any reaction, especially the installation of new plugins or the update of already installed plugins did not work. The solution was to explicitly set the environment variable <code>GDK_NATIVE_WINDOWS</code> to <code>true</code>, preferably by using a shell script to start Eclipse
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">GDK_NATIVE_WINDOWS</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
YOUR_COMMAND_TO_START_ECLIPSE</pre></div></div>

<p>
See also:<br />
&rarr; <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=291257">Bug 291257 &#8211; [Widgets] Buttons functionality problem with GTK+ 2.18</a><br />
&rarr; <a href="http://library.gnome.org/devel/gtk/2.18/gtk-migrating-ClientSideWindows.html">Migrating to client-side windows</a></p>
]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/problem-with-ubuntu-9-10-karmic-and-eclipse-3-5-galileo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems with Eclipse AJDT update site</title>
		<link>http://off-topic.biz/en/problems-with-eclipse-ajdt-update-site/</link>
		<comments>http://off-topic.biz/en/problems-with-eclipse-ajdt-update-site/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 14:15:59 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://off-topic.biz/en/?p=55</guid>
		<description><![CDATA[Currently there seems to be a problem with the AJDT 2.0 update site for Eclipse 3.5 &#8220;Galileo&#8221;. If you set the URL to http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/ajdt/35/dev/update everything works fine.]]></description>
			<content:encoded><![CDATA[<p>Currently there seems to be a problem with the AJDT 2.0 update site for Eclipse 3.5 &#8220;Galileo&#8221;. If you set the URL to http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/ajdt/35/dev/update everything works fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://off-topic.biz/en/problems-with-eclipse-ajdt-update-site/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

