<?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>The Last Engine &#187; Google Web Toolkit</title>
	<atom:link href="http://www.lastengine.com/category/google-web-toolkit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lastengine.com</link>
	<description>Making Voice 2.0 Work</description>
	<lastBuildDate>Wed, 26 May 2010 01:40:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Web Toolkit (GWT) Creating a hyperlink for a button</title>
		<link>http://www.lastengine.com/181/google-web-toolkit-gwt-creating-a-hyperlink-for-a-button/</link>
		<comments>http://www.lastengine.com/181/google-web-toolkit-gwt-creating-a-hyperlink-for-a-button/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 21:45:43 +0000</pubDate>
		<dc:creator>Vijesh</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[Google Web Toolkit]]></category>

		<guid isPermaLink="false">http://www.lastengine.com/181/google-web-toolkit-gwt-creating-a-hyperlink-for-a-button/</guid>
		<description><![CDATA[Should be simpler, but GWT requires you to do an onclick event for the buttons. Then you can use the Javascript Window location to go to the new URL.
	Toolbar toolbar = new Toolbar();
        ToolbarButton button = new ToolbarButton("Click to New URL", new ButtonListenerAdapter()
      [...]]]></description>
			<content:encoded><![CDATA[<p>Should be simpler, but GWT requires you to do an onclick event for the buttons. Then you can use the Javascript Window location to go to the new URL.</p>
<pre class="brush:java">	Toolbar toolbar = new Toolbar();
        ToolbarButton button = new ToolbarButton("Click to New URL", new ButtonListenerAdapter()
        {
            public void onClick(Button button, EventObject e)
            {
            	Window.Location.replace("http://www.google.com");
            }
        });
        toolbar.addButton(button);</pre>
<p>Now when the button is clicked, it will act like a normal &lt;a href link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lastengine.com/181/google-web-toolkit-gwt-creating-a-hyperlink-for-a-button/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
