<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: GWT UiBinder – Passing Parameters to Widgets</title>
	<atom:link href="http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=gwt-uibinder-passing-parameters-to-widgets</link>
	<description>Get your head out of your #@! and into the clouds!</description>
	<lastBuildDate>Wed, 28 Jul 2010 17:34:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: GWT UiBinder – Passing Objects to Widgets &#124; Jeff Douglas - Technology, Coding and Bears... OH MY!</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-995</link>
		<dc:creator>GWT UiBinder – Passing Objects to Widgets &#124; Jeff Douglas - Technology, Coding and Bears... OH MY!</dc:creator>
		<pubDate>Tue, 13 Jul 2010 11:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-995</guid>
		<description>[...] couple of weeks ago I wrote a GWT 2.0 tutorial for passing simple values to a widget and this is the (promised) follow up on how to pass an object to a widget. For more info on working [...]</description>
		<content:encoded><![CDATA[<p>[...] couple of weeks ago I wrote a GWT 2.0 tutorial for passing simple values to a widget and this is the (promised) follow up on how to pass an object to a widget. For more info on working [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amjad hussein</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-813</link>
		<dc:creator>Amjad hussein</dc:creator>
		<pubDate>Thu, 03 Jun 2010 01:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-813</guid>
		<description>Why did you add the key word &#039;provided=true&#039;  in the line  @UiField(provided=true) ? You didn&#039;t add that in other locations.</description>
		<content:encoded><![CDATA[<p>Why did you add the key word &#8216;provided=true&#8217;  in the line  @UiField(provided=true) ? You didn&#8217;t add that in other locations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-440</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 24 Mar 2010 14:45:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-440</guid>
		<description>I get an error trying to run this.  NullPointerException in line 26 of MyPanel.java.  initWidget(uiBinder.createAndBuildUi(this)

I had to change the first line of the MyPanel constructor to be:
myField = new Hidden() to get it to work.</description>
		<content:encoded><![CDATA[<p>I get an error trying to run this.  NullPointerException in line 26 of MyPanel.java.  initWidget(uiBinder.createAndBuildUi(this)</p>
<p>I had to change the first line of the MyPanel constructor to be:<br />
myField = new Hidden() to get it to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uri</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-439</link>
		<dc:creator>Uri</dc:creator>
		<pubDate>Tue, 16 Mar 2010 15:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-439</guid>
		<description>Nevermind :) I solved the whole thing using Events. Probably is a cleaner approach for the GWT.

Uri</description>
		<content:encoded><![CDATA[<p>Nevermind <img src='http://blog.jeffdouglas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I solved the whole thing using Events. Probably is a cleaner approach for the GWT.</p>
<p>Uri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uri</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-438</link>
		<dc:creator>Uri</dc:creator>
		<pubDate>Tue, 16 Mar 2010 14:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-438</guid>
		<description>Meant to write: In TopPanel.ui.xml I have

      &lt;div&gt;
        &lt;b&gt;Welcome back, &gt;g:Label ui:field=&quot;myField&quot;/&gt;&lt;/b&gt;
      &lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Meant to write: In TopPanel.ui.xml I have</p>
<p>      &lt;div&gt;<br />
        &lt;b&gt;Welcome back, &gt;g:Label ui:field=&#8221;myField&#8221;/&gt;&lt;/b&gt;<br />
      &lt;/div&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uri</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-437</link>
		<dc:creator>Uri</dc:creator>
		<pubDate>Tue, 16 Mar 2010 14:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-437</guid>
		<description>Jeff,

In my case I have two files, Login.java/ui.xml and TopPanel.java/ui.xml -- after Login I need to pass the value of the logged in user to TopPanel. I don&#039;t understand how I can communicate between these two files using GWT. In TopPanel.java I have

  public void setLoggedInUser(String username) {
	  myField.setValue(username);
  }

In TopPanel.ui.xml I have


        &lt;b&gt;Welcome back, &lt;/b&gt;


So now in Login.Java how would I pass the value of the logged in user to the Label &#039;myField&#039;? I tried to use  in Login.java so I could do @UiField TopPanel res and then res.setLoggedInUser but while that fired into the method correctly it did not update the text. I also tried to create a new instance of TopPanel but that didn&#039;t work either.

Any ideas?

Thanks,
Uri</description>
		<content:encoded><![CDATA[<p>Jeff,</p>
<p>In my case I have two files, Login.java/ui.xml and TopPanel.java/ui.xml &#8212; after Login I need to pass the value of the logged in user to TopPanel. I don&#8217;t understand how I can communicate between these two files using GWT. In TopPanel.java I have</p>
<p>  public void setLoggedInUser(String username) {<br />
	  myField.setValue(username);<br />
  }</p>
<p>In TopPanel.ui.xml I have</p>
<p>        <b>Welcome back, </b></p>
<p>So now in Login.Java how would I pass the value of the logged in user to the Label &#8216;myField&#8217;? I tried to use  in Login.java so I could do @UiField TopPanel res and then res.setLoggedInUser but while that fired into the method correctly it did not update the text. I also tried to create a new instance of TopPanel but that didn&#8217;t work either.</p>
<p>Any ideas?</p>
<p>Thanks,<br />
Uri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-436</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Mon, 15 Mar 2010 16:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-436</guid>
		<description>Yes! See &lt;a href=&quot;http://blog.jeffdouglas.com/2010/02/24/gwt-uibinder-passing-objects-to-widgets/&quot; rel=&quot;nofollow&quot;&gt;GWT UiBinder – Passing Objects to Widgets&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Yes! See <a href="http://blog.jeffdouglas.com/2010/02/24/gwt-uibinder-passing-objects-to-widgets/" rel="nofollow">GWT UiBinder – Passing Objects to Widgets</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-435</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Mon, 15 Mar 2010 16:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-435</guid>
		<description>Is is possible to pass in parameters that are not Strings ?

Thanks

Craig</description>
		<content:encoded><![CDATA[<p>Is is possible to pass in parameters that are not Strings ?</p>
<p>Thanks</p>
<p>Craig</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GWT UiBinder – Passing Objects to Widgets &#124; Jeff Douglas &#8211; Technology, Coding and Bears&#8230; OH MY!</title>
		<link>http://blog.jeffdouglas.com/2010/02/05/gwt-uibinder-passing-parameters-to-widgets/comment-page-1/#comment-434</link>
		<dc:creator>GWT UiBinder – Passing Objects to Widgets &#124; Jeff Douglas &#8211; Technology, Coding and Bears&#8230; OH MY!</dc:creator>
		<pubDate>Wed, 24 Feb 2010 13:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=2100#comment-434</guid>
		<description>[...] couple of weeks ago I wrote a GWT 2.0 tutorial for passing simple values to a widget and this is the (promised) follow up on how to pass an object to a widget. For more info on working [...]</description>
		<content:encoded><![CDATA[<p>[...] couple of weeks ago I wrote a GWT 2.0 tutorial for passing simple values to a widget and this is the (promised) follow up on how to pass an object to a widget. For more info on working [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
