<?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"
	>
<channel>
	<title>Comments on: What is a _Widget</title>
	<atom:link href="http://dojocampus.org/content/2008/04/20/what-is-a-_widget/feed/" rel="self" type="application/rss+xml" />
	<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/</link>
	<description>The definitive resource for all things Dojo: past, present, future.</description>
	<pubDate>Tue, 06 Jan 2009 23:18:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: gtducati</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-209</link>
		<dc:creator>gtducati</dc:creator>
		<pubDate>Fri, 06 Jun 2008 16:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-209</guid>
		<description>Thanks for the insight. I'll definitely be implementing something similar in the near future.</description>
		<content:encoded><![CDATA[<p>Thanks for the insight. I&#8217;ll definitely be implementing something similar in the near future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dante</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-208</link>
		<dc:creator>dante</dc:creator>
		<pubDate>Fri, 06 Jun 2008 14:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-208</guid>
		<description>The DataTextBox as a popupClass attribute, iirc.  It is set to dijit._Calendar. The _Calendar is being created and managed directly by the TextBox widget, connecting to the Calendar's onChange attribute to know when to show/hide/focus the input ... You wouldn't directly inherit from _Calendar at all, unless all you wanted was a _Calendar on a page, but typically, you'd want to wrap that in your own class as a shim to prevent the "private" _Calendar class from being access directly by your users (if you are making a product that other's will build from)</description>
		<content:encoded><![CDATA[<p>The DataTextBox as a popupClass attribute, iirc.  It is set to dijit._Calendar. The _Calendar is being created and managed directly by the TextBox widget, connecting to the Calendar&#8217;s onChange attribute to know when to show/hide/focus the input &#8230; You wouldn&#8217;t directly inherit from _Calendar at all, unless all you wanted was a _Calendar on a page, but typically, you&#8217;d want to wrap that in your own class as a shim to prevent the &#8220;private&#8221; _Calendar class from being access directly by your users (if you are making a product that other&#8217;s will build from)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gtducati</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-207</link>
		<dc:creator>gtducati</dc:creator>
		<pubDate>Fri, 06 Jun 2008 13:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-207</guid>
		<description>Ok, so I'm looking in the right places. But back to my question in trying to understand how to make my own widget using _Calendar: how exactly is the output of the _Calendar being serialized to the textfield in dijit.form.DateTextBox?</description>
		<content:encoded><![CDATA[<p>Ok, so I&#8217;m looking in the right places. But back to my question in trying to understand how to make my own widget using _Calendar: how exactly is the output of the _Calendar being serialized to the textfield in dijit.form.DateTextBox?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dante</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-206</link>
		<dc:creator>dante</dc:creator>
		<pubDate>Fri, 06 Jun 2008 12:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-206</guid>
		<description>Yes. The Dijit.form stuff is particularly confusing in it's inheritance chain.  Not everything you dojo.require() only provide()'s that same thing. For instance, all the "buttons" (dropdown, and normal button) are in dijit.form.Button.  TooltipDialog lives in dijit.Dialog.js --</description>
		<content:encoded><![CDATA[<p>Yes. The Dijit.form stuff is particularly confusing in it&#8217;s inheritance chain.  Not everything you dojo.require() only provide()&#8217;s that same thing. For instance, all the &#8220;buttons&#8221; (dropdown, and normal button) are in dijit.form.Button.  TooltipDialog lives in dijit.Dialog.js &#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gtducati</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-205</link>
		<dc:creator>gtducati</dc:creator>
		<pubDate>Fri, 06 Jun 2008 12:47:23 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-205</guid>
		<description>That makes sense. So for dijit.form.DateTextBox, how exactly is the output of the _Calendar being serialized to this extended base class of dijit.form._DateTimeTextBox? Looking deeper, I can see that dijit.form._DateTimeTextBox is an extended class of dijit.form.RangeBoundTextBox, but dijit.form.RangeBoundTextBox isn't anywhere in its expected directory; although, a dojo.require is calling dijit.form.ValidationTextBox.  Can you see my confusion? :)</description>
		<content:encoded><![CDATA[<p>That makes sense. So for dijit.form.DateTextBox, how exactly is the output of the _Calendar being serialized to this extended base class of dijit.form._DateTimeTextBox? Looking deeper, I can see that dijit.form._DateTimeTextBox is an extended class of dijit.form.RangeBoundTextBox, but dijit.form.RangeBoundTextBox isn&#8217;t anywhere in its expected directory; although, a dojo.require is calling dijit.form.ValidationTextBox.  Can you see my confusion? <img src='http://dojocampus.org/content/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dante</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-204</link>
		<dc:creator>dante</dc:creator>
		<pubDate>Fri, 06 Jun 2008 11:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-204</guid>
		<description>In dijit, the _ means a couple of things: If it's inside of a Class, it means it's a private member and not meant to be used directly (it could go away potentially, public methods, however, will not). In the case of _Widget, and _Calendar, it indicates, it simply means they are meant to be created directly, but rather to be used as a Base Class or Mixin for your own widgets.  For instance, a dijit.form.DateTextBox uses a _Calendar as it's popup.</description>
		<content:encoded><![CDATA[<p>In dijit, the _ means a couple of things: If it&#8217;s inside of a Class, it means it&#8217;s a private member and not meant to be used directly (it could go away potentially, public methods, however, will not). In the case of _Widget, and _Calendar, it indicates, it simply means they are meant to be created directly, but rather to be used as a Base Class or Mixin for your own widgets.  For instance, a dijit.form.DateTextBox uses a _Calendar as it&#8217;s popup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gtducati</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-201</link>
		<dc:creator>gtducati</dc:creator>
		<pubDate>Fri, 06 Jun 2008 01:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-201</guid>
		<description>Just out of curiosity, why is the widget class spelled as "_Widget?" I also noticed this for the calendar, namely "_Calendar."</description>
		<content:encoded><![CDATA[<p>Just out of curiosity, why is the widget class spelled as &#8220;_Widget?&#8221; I also noticed this for the calendar, namely &#8220;_Calendar.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sabbaath</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-186</link>
		<dc:creator>sabbaath</dc:creator>
		<pubDate>Wed, 07 May 2008 15:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-186</guid>
		<description>FYI, 

Dante's example at the link above is broken.  Some of the key code blocks are now empty.  If you click through to his ImageAccordian html page example, several 404's show up in firebug. 

sabbaath</description>
		<content:encoded><![CDATA[<p>FYI, </p>
<p>Dante&#8217;s example at the link above is broken.  Some of the key code blocks are now empty.  If you click through to his ImageAccordian html page example, several 404&#8217;s show up in firebug. </p>
<p>sabbaath</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Great Dojo Widget tutorial &#171; SOS</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-100</link>
		<dc:creator>Great Dojo Widget tutorial &#171; SOS</dc:creator>
		<pubDate>Tue, 22 Apr 2008 13:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-100</guid>
		<description>[...] Posted by Shane O'Sullivan on 22 April, 2008  Pete Higgins has posted a great tutorial on how to write a Dojo widget, taking as an example his recent addition, FisheyeLite.  Check it out at http://dojocampus.org/content/?p=100 [...]</description>
		<content:encoded><![CDATA[<p>[...] Posted by Shane O&#8217;Sullivan on 22 April, 2008  Pete Higgins has posted a great tutorial on how to write a Dojo widget, taking as an example his recent addition, FisheyeLite.  Check it out at <a href="http://dojocampus.org/content/?p=100" rel="nofollow">http://dojocampus.org/content/?p=100</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dante</title>
		<link>http://dojocampus.org/content/2008/04/20/what-is-a-_widget/#comment-97</link>
		<dc:creator>dante</dc:creator>
		<pubDate>Mon, 21 Apr 2008 11:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://dojocampus.org/content/?p=100#comment-97</guid>
		<description>Just as an updated note, "Wild" Bill Keese of Dijit fame pointed out to me you should be able to call _Widget.disconnect() on a handle returned by _Widget.connect(), making my statement about this.connect(node,event,method) not being able to be disconnected false.  .connect() seems to return the handle just like dojo.connect() would, and disconnect() seems to successfully remove the connection from the this._connects hash. I stand corrected. Thanks bill --</description>
		<content:encoded><![CDATA[<p>Just as an updated note, &#8220;Wild&#8221; Bill Keese of Dijit fame pointed out to me you should be able to call _Widget.disconnect() on a handle returned by _Widget.connect(), making my statement about this.connect(node,event,method) not being able to be disconnected false.  .connect() seems to return the handle just like dojo.connect() would, and disconnect() seems to successfully remove the connection from the this._connects hash. I stand corrected. Thanks bill &#8211;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
